Archivos mensuales: Septiembre 2008

No me pregunten por que, pero si hacen un dominio con Underscore, en Internet Explorer 7, van a tener problema con las cookies

Lo vi en los foros de Microsoft, despues de renegar toda la mañana con un problema de login. No hay solucion, asi que en vez de usar www.sarasa_aaa.com usen www.sarasa-aaa.com, guiones comunes no traen problemas.

Si ves que tu log de errores se llena de errores del tipo Padding is invalid and cannot be removed, con una excepcion parecida a esta:
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo)
at System.Web.UI.Page.DecryptString(String s)
at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Lo que tenes que hacer es agregar al robots.txt del raiz de tu sitio que NO se indexen los archivos .axd.

El culpable es Google Bot, que al seguir todos los links de la pagina, tambien indexa el Scriptmanager.axd, generando las excepciones.

User-agent: *
Disallow: /*.axd$

Con eso hacemos que los buscadores ignoren totalmente los archivos .axd, que realmente no tienen nada importante.