andyw27
asked on
toolkitscriptmanager Error when deployed (sys is not defined)
Hi,
I’ve been developing an app on visual studio 2010. Whilst doing this it has worked fine.
I’ve now deployed the site to IIS site and I’m getting some strange errors that appear to be related to toolkitscriptmanager control.
The error I’m getting is:
toolkitscriptmanager referenceError: sys is not defined
Is there anything obvious that I can check?
I’ve been developing an app on visual studio 2010. Whilst doing this it has worked fine.
I’ve now deployed the site to IIS site and I’m getting some strange errors that appear to be related to toolkitscriptmanager control.
The error I’m getting is:
toolkitscriptmanager referenceError: sys is not defined
Is there anything obvious that I can check?
Make sure to check ur webconfig files
Scenario you may get this error : when 2 config file are in same project even in differentname like webconfig,webconfig123.... .
Check the date and time settings in server.. and rebuilt the external project(s), and rebuilt my solution and check once..
for more do review various solution :http://stackoverflow.com/questions/75322/sys-is-undefined
<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>
</system.web>
Scenario you may get this error : when 2 config file are in same project even in differentname like webconfig,webconfig123....
Check the date and time settings in server.. and rebuilt the external project(s), and rebuilt my solution and check once..
for more do review various solution :http://stackoverflow.com/questions/75322/sys-is-undefined
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make sure any entries for ASP.NET AJax in web.config are corresponding to right assemblies as ToolkitScriptManger will need 3.5 and make sure it's there on your productions server if you are using it via gac.