ASP.NET - scriptresource .axd error in ie8 - Asked By venkat on 09-Jul-11 01:41 AM

in my project iam using the lnkbtn called view , when i am clicking the view btn iam opening the popwindow.
it showing only one time . but further it is not showing

iam gettting the scriptresource.axd error

please help i n solving the problem.
its urgent
Radhika roy replied to venkat on 09-Jul-11 02:37 AM
This issue is caused when the ScriptResource.axd querystring parameters can not be decoded on the server. This error can be caused from multiple issues with server configuration or the Browser's interaction with the server.

 The ScriptResource.axd contains all of the clientside javascript routines for Ajax. Just because you include a scriptmanager that loads a script file it will never appear as a ScriptResource.AXD - instead it will be merely passed as the .js file you send if you reference a external script file.

Follow this link here you will get solution-

http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2009/04/error-scriptresourceaxd-invalid.html

Hope this will help you.
Jitendra Faye replied to venkat on 09-Jul-11 06:45 AM
This issue can be mitigated by avoiding constructs that cause a restart of the parser. The most common cause of restarts is specification of the CHARSET in a META tag. (There are other, more obscure causes of restarts, but the CHARSET is believed to be the most common).

By declaring the CHARSET of the page using the HTTP Content-Type header rather than specifying it within the page, you can remove one cause of parser restarts.

So, rather than putting

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">

In your head tag, instead, send the following HTTP response header:

Content-Type: text/html; charset=utf-8

Note that specification of the charset in the HTTP header results in improved performance in all browsers, because the browser's parsers need not restart parsing from the beginning upon encountering the character set declaration. Furthermore, using the HTTP header helps mitigate certain XSS attack vectors.

for more help follow this link-

http://connect.microsoft.com/VisualStudio/feedback/details/434997/invalid-webresource-axd-parameters-being-generated

Hope this will help you.