Could someone please explain why I get 10-15 errors a day from my site
after the "googleBot" has visited?
Regards
MC
--------Error---------
Padding is invalid and cannot be removed.
--------Stack Trace---------
Current Path:/WebResource.axd
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)
--------Server Variables---------
APPL_MD_PATH: /LM/W3SVC/643/ROOT
APPL_PHYSICAL_PATH: C:\Sites\Single23\webroot\
AUTH_TYPE:
AUTH_USER:
AUTH_PASSWORD:
LOGON_USER:
REMOTE_USER:
CERT_COOKIE:
CERT_FLAGS:
CERT_ISSUER:
CERT_KEYSIZE:
CERT_SECRETKEYSIZE:
CERT_SERIALNUMBER:
CERT_SERVER_ISSUER:
CERT_SERVER_SUBJECT:
CERT_SUBJECT:
CONTENT_LENGTH: 0
CONTENT_TYPE:
GATEWAY_INTERFACE: CGI/1.1
HTTPS: off
HTTPS_KEYSIZE:
HTTPS_SECRETKEYSIZE:
HTTPS_SERVER_ISSUER:
HTTPS_SERVER_SUBJECT:
INSTANCE_ID: 643
INSTANCE_META_PATH: /LM/W3SVC/643
LOCAL_ADDR: 35.102.21.143
PATH_INFO: /WebResource.axd
PATH_TRANSLATED: c:\sites\single23\webroot\webresource.axd
QUERY_STRING: d=dxMMdK6eAGkmBYDPyRmCVA2&t=633198105607423965
REMOTE_ADDR: 66.249.67.105
REMOTE_HOST: 66.249.67.105
REMOTE_PORT: 48168
REQUEST_METHOD: GET
SCRIPT_NAME: /WebResource.axd
SERVER_NAME: www.XXXXXXXXXXXXXXX.com
SERVER_PORT: 80
SERVER_PORT_SECURE: 0
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Microsoft-IIS/6.0
URL: /WebResource.axd
HTTP_CONNECTION: Keep-alive
HTTP_ACCEPT: */*
HTTP_ACCEPT_ENCODING: gzip
HTTP_FROM: googlebot(at)googlebot.com
HTTP_HOST: www.XXXXXXXXXXXXXXX.com
HTTP_USER_AGENT: Mozilla/5.0 (compatible; Googlebot/2.1;
+http://www.google.com/bot.html)
bruce barker - 02 Oct 2007 16:10 GMT
it unable to produce a valid viewstate for a postback. design your site
to be crawled by bots by have only links and gets. use the agent strig
to detect a bot.
-- bruce (sqlwork.com)
> Could someone please explain why I get 10-15 errors a day from my site
> after the "googleBot" has visited?
[quoted text clipped - 77 lines]
> HTTP_USER_AGENT: Mozilla/5.0 (compatible; Googlebot/2.1;
> +http://www.google.com/bot.html)
MC - 02 Oct 2007 16:38 GMT
To clarify, I should not use any postback functionality?
Hasn't the majority of the ASP.NET functionalitiy been provided by using
postbacks?
If I detected a bot what do I do to stop it serving invalid responses
the errors all seem to come from webResource and ScriptResource requests.
MC
> it unable to produce a valid viewstate for a postback. design your site
> to be crawled by bots by have only links and gets. use the agent strig
[quoted text clipped - 83 lines]
>> HTTP_USER_AGENT: Mozilla/5.0 (compatible; Googlebot/2.1;
>> +http://www.google.com/bot.html)
Walter Wang [MSFT] - 03 Oct 2007 08:24 GMT
Hi MC,
Please search for "SEO ASP.NET" for more information on this topic. SEO
stands for Search Engine Optimization.
Here's some useful thread for your reference:
#Gridview, paging and googlebot (and other spiders)
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/brow
se_thread/thread/296d5f89a750d960/
Hope this helps.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Steven Cheng[MSFT] - 05 Oct 2007 11:42 GMT
Hi MC,
Have you got any progress on this issue? If you have any findings or
anything else need help, please feel free to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: wawang@online.microsoft.com ("Walter Wang [MSFT]")
>Organization: Microsoft
>Date: Wed, 03 Oct 2007 07:24:15 GMT
>Subject: Re: Padding is invalid and cannot be removed.
>Hi MC,
>
[quoted text clipped - 19 lines]
>
>This posting is provided "AS IS" with no warranties, and confers no rights.