Click here to Skip to main content
15,885,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Website is working Ok on local but on server i am getting following errors.
* Sys is undefined
* ASP.NET Ajax client-side framework failed to load

i am using:-
Ajax Toolkit version:
Product version is 3.0.30512.1
Assembly version is 3.0.30512.20315

Visual Studio is Microsoft visual studio premium 2012
framwork version is 4.5.50709

Please help!!
Posted

 
Share this answer
 
Comments
_Dhull 6-May-14 4:26am    
Not working. Still have same issue.
This is your web.config issue:
Try Adding the following in the system.web tag

HTML
<httphandlers>
  <remove verb="*" path="*.asmx" />
  <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  <add verb="GET" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler" validate="false" />
</httphandlers>


OR follow the link:
sys-is-undefined

Hope it helps :)
 
Share this answer
 
v2
Comments
_Dhull 6-May-14 2:45am    
thanks Sanket,
but not working :(
Sanket Saxena 6-May-14 2:52am    
could u plz try:

<scripting>
<scriptResourceHandler enableCompression="false" />
</scripting>

in <system.web.extensions> tag
_Dhull 6-May-14 2:56am    
Still no luck. Not working
Sanket Saxena 6-May-14 3:10am    
check the link may be it helps u.

http://stackoverflow.com/questions/11288796/asp-net-ajax-client-side-framework-failed-to-load-when-put-the-scriptmanager-on
This may be due to incorrect web config. You may have manually download and include ajax toolkit to your project. But there is a easy way to install it. check Install the Ajax Control Toolkit from NuGet[^] blog post.
You can use Nuget package manager to install the toolkit and it will do the configuration changes to you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900