CoderWannaBe
.Net blog

asp.net ajax client-side framework failed to load

April 17, 2009 23:53 by bstinson

Ran into this issue when promoting an upgrade from dev to staging today.

The site was upgraded from 2.0 to 3.5.  I searched all over and found a lot of answers, but the final fix was to add 2 0 (zero) byte files in the root of the website:  ScriptResource.axd and WebResource.axd.

Go Figure....Surprised

I assume if I were to create a brand new project in VS 2008 it would add these 2 files and the upgrade process does not.

Oh well.  At leaset my web server admin had written down a note when someone else ran into the same issue.


Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories:
Actions: E-mail | Permalink | Comments (6) | Comment RSSRSS comment feed

Related posts

Comments

April 24. 2009 04:41

Gravatar


I can not solve this problem and I do not know that I have to do.

hp laptop chargers

June 19. 2009 19:40

Gravatar

Can it really happen?

cheap callcards

July 25. 2009 00:45

Gravatar

finally i find something that i want to know..
thanks for this usefull informations..

Miss You Comments

August 28. 2009 09:09

Gravatar

I tried this after trying various solutions on the web and thankfully it worked... However, I don't really like the idea of having to create two useless files as part of my deployment process, but this post pointed me in the right direction of a better fix.

I noticed the following line in the web.config which references "ScriptResource.axd":

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> in the web.config.

I deleted this line, and then the site loaded correctly w/o having to create the two zero byte files you mentioned.

James Foster

August 28. 2009 11:21

Gravatar

Thanks for the comment James.
One question. What does that do to your Ajax? Does it still function properly?
I really haven't found much need to use Ajax in the types of projects we have been doing lately, so I am definitely
not an expert on the subject.

Brett Stinson

September 10. 2009 06:04

Gravatar

i feel very lucky can find this page..
finally i find something that i want to know..
thank you for this usefull informations..

Stop Dreaming Start Action

Comments are closed