[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

asp ajax client side framework failed to load

Posted on 2009-02-19
13
Medium Priority
?
1,303 Views
Last Modified: 2013-11-07
I have a small web site that uses ASP.NET with AJax. I re-wrote to code so that it would work in .net 3.5 It runs fine in VS2008 and also via a browser pointing to the development web server.
 I copied all the files in the project to the live server and now it fails on any pages that use an AJAX component.

Any ideas?
0
Comment
Question by:mrnmnew
13 Comments
 
LVL 12

Expert Comment

by:CB_Thirumalai
ID: 23680855
Do you have the Ajax framework installed on the server.  Just check that.
0
 
LVL 4

Expert Comment

by:siancell
ID: 23681122
Like CB_Thirumalai stated, make sure the ajax extensions are installed on the live server. You can download the extensions here
http://www.asp.net/ajax/downloads/ 
Also make sure you are targeting the same extension version (1.0.61025.0 or 3.5.0.0) in your web.config file. And finally on your web.config file, change the debug="true" setting to debug="false".
0
 

Author Comment

by:mrnmnew
ID: 23681186
Both servers have ASP .NET framwork 3.5 installed and this apparently has the AJAX extesion allready in it. Only .net 2 and below need a separate extension to run AJAX
Debug is set to tru but the error seems to be when the browser renders the page rather than serverside.

All very strange
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 4

Expert Comment

by:siancell
ID: 23681227
What error are you getting when the browser renders the page? Try changing debug to false and see if that helps.
0
 

Author Comment

by:mrnmnew
ID: 23681268
I get " asp ajax client side framework failed to load "

changig debug to fasle does not help
0
 
LVL 4

Expert Comment

by:siancell
ID: 23681305
0
 

Author Comment

by:mrnmnew
ID: 23681324
Thanks , but I had already found that link and tried the suggestions. It made no difference.
0
 
LVL 4

Expert Comment

by:siancell
ID: 23681472
Try refering to this post

http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Studio_.NET_2005/Q_23494468.html

Also make sure the axd extensions are mapped to the site on IIS and the verify file exists is not checked.
IIS > Right click on site > Home Directory Tab > Configuration Button > find the axd extension if not add it and apply changes if needed.
0
 

Author Comment

by:mrnmnew
ID: 23681607
the ISAPI extensions are correct. I see from that link the guy fixed it by reinstalling IIS. Not really something I want to do on a live server wth several other sites.
0
 
LVL 4

Expert Comment

by:siancell
ID: 23681650
Maybe you just need to re-register asp.net instead of reinstalling IIS

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i -enable (assuming the path is correct) and restarting IIS.
0
 

Accepted Solution

by:
mrnmnew earned 0 total points
ID: 23681673
Found it !! only took 3 days !

It was an  application map that was created automatically from the default web site when I created this new web site. Once I removed it, my code started working !


Thanks for your input
0
 

Expert Comment

by:Hob_Nob
ID: 24223211
What is the fix?  where was this application map which was created?

  I got the same problem!
0
 

Author Comment

by:mrnmnew
ID: 24224695
yes this fixed it ,  the application mapping is in ISS
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question