harriyott.com

Monday, July 02, 2007

ScriptResource.axd 404 error

Another bug landed on my foot. This time, some AJAX combo boxes weren't updating on the development server, but worked fine on my machine. Fiddler showed that the ScriptResource.axd "files" were 404ing, so it looked like a problem with the application setup.

There was also a script error: "Sys is undefined".

It turned out that the AJAX settings were missing from web.config. Adding them in made the scripts run correctly.

2 Comments:

Blogger Schlub said...

I received this error for the first time, and I can see all the appropriate ScriptResource.axd entries in my web.config file - at least they match those in my dev config file.

What did you add to fix it?

May 07, 2008 1:57 AM  
Blogger Simon said...

Sorry Schlub, that's all I did. If they're really all there, then it must be something else I haven't come across.

May 07, 2008 7:17 AM  

Post a Comment

Links to this post:

Create a Link

<< Home