The reason is the path of the javascript generated by the scriptmanager changes when the URL Routing module is used.
The solution is tell the routing API to not route the files with "axd" extension.
Best regards,
Sam
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
We have installed visual studio on server when we opened website in vs and run it from vs (local host) then Ajax is working but if when tried to run it through domain (e.g. xyz.com) then its not working
We have installed visual studio on server when we opened website in vs and run it from vs (local host) then Ajax is working but if when tried to run it through domain (e.g. xyz.com) then its not working
Which ajax control do you use? please show me your code, i need it to reproduce your problem.
Here are a few similar problems and solutions for your reference.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
None
0 Points
2 Posts
ASP.NET Ajax client-side framework failed to load.
Dec 03, 2019 01:13 PM|aamodjoshi|LINK
Hi All,
We are facing problem on prod server "
" server is windows server 2016, IIS 10, app pool is 4.0Contributor
3370 Points
1409 Posts
Re: ASP.NET Ajax client-side framework failed to load.
Dec 04, 2019 07:03 AM|samwu|LINK
Hi aamodjoshi,
Can you post more information about this error? Such as your application scenario or your code. etc.
About this error you can refer to this link:https://stackoverflow.com/a/3728851
The reason is the path of the javascript generated by the scriptmanager changes when the URL Routing module is used.
The solution is tell the routing API to not route the files with "axd" extension.
Best regards,
Sam
Contributor
2096 Points
1040 Posts
Re: ASP.NET Ajax client-side framework failed to load.
Dec 04, 2019 01:50 PM|Khuram.Shahzad|LINK
One of quick solution is
Contributor
2096 Points
1040 Posts
Re: ASP.NET Ajax client-side framework failed to load.
Dec 04, 2019 01:51 PM|Khuram.Shahzad|LINK
Solution in .Net 4.0 is
Another possible solution is:
None
0 Points
2 Posts
Re: ASP.NET Ajax client-side framework failed to load.
Dec 05, 2019 10:27 AM|aamodjoshi|LINK
We have installed visual studio on server when we opened website in vs and run it from vs (local host) then Ajax is working but if when tried to run it through domain (e.g. xyz.com) then its not working
Contributor
3370 Points
1409 Posts
Re: ASP.NET Ajax client-side framework failed to load.
Dec 06, 2019 07:25 AM|samwu|LINK
Hi aamodioshi,
Which ajax control do you use? please show me your code, i need it to reproduce your problem.
Here are a few similar problems and solutions for your reference.
https://stackoverflow.com/questions/8638436/asp-net-ajax-client-side-framework-failed-to-load
https://stackoverflow.com/questions/11288796/asp-net-ajax-client-side-framework-failed-to-load-when-put-the-scriptmanager-on
Best regards,
Sam