/ Published in: XML
You get "'Sys' is undefined" error in web application. The application works perfectly when run locally. It throws the JavaScript error when run in production. A handler is necessary in web.config to solve this problem. "ScriptResource" is added to the config file.
Expand |
Embed | Plain Text
<system.webServer> <handlers> <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </handlers> <modules runAllManagedModulesForAllRequests="true"/> <validation validateIntegratedModeConfiguration="false" /> </system.webServer>
You need to login to post a comment.
