Wednesday, May 12, 2010

Microsoft JScript runtime error: 'Sys' is undefined

You received the following error when loading a page with WebDock or WebSplitter at run-time:
Microsoft JScript runtime error: 'Sys' is undefined

The required MS ASP.NET AJAX configuration is missing. This could be resulted from adding MS ASP.NET AJAX controls to a project that was not configured for ASP.NET AJAX during initial setup.

To resolve the issue, add the followings to the section of web.config:



You received the following error when loading a page with WebDock or WebSplitter at run-time:

Microsoft JScript runtime error: 'Sys' is undefined

 

The required MS ASP.NET AJAX configuration is missing.  This could be resulted from adding MS ASP.NET AJAX controls to a project that was not configured for ASP.NET AJAX during initial setup.

 

To resolve the issue, add the followings to the <system.web> section of web.config:

 <httpHandlers>

     <remove verb="*" path="*.asmx"/>

     <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

     <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

     <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

</httpHandlers>


<httpModules>

     <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</httpModules>

No comments: