Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi gents,
i have web application developed in Visual studio 2005 and it is ajax enabled.we have hosted it with one hosting company and it was working fine.one month back our serviece provider reinstalled there server so after that our application was giving this error "The file 'index.aspx' has not been pre-compiled, and cannot be requested." for all pages.on that time i fixed it by addding "System.Web.Extensions.Design.dll " and "System.Web.Extensions.dll" assemblies in BIN directory because may be our service provider did not installed ajax and ,my application was using reference from there machine may be (No confirmed).
some days before i installed Visual studio 2008 and 2003 also on my system. Now if i try to upload webiste after publishing in vs 2005 so some time its gives same error in all pages and some time in few pages.but i have another system having vs2005 only.if i publish application there and update it in hosting server then it is not giving error.one thing more that before if i was updating my application in hosting server then i was just overriting contents directly and it was working fine but now if i upload my website without removing all contents from my hosting server then again i m getting error even if my application is published on second mentiond machine (having only vs2005).i dont know what is correct and exact reason.
Posted

1 solution

I think there must be some version conflict. After installing Visual Studio 2008, the public key tokens must have been changed with one in the server.

Do not update the web.config of the server. And also, notify the service provider to install .NET 3.5 as soon as possible, because it installs all the necessary dlls needed to run asp.net AJAX properly.

;)
 
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