Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 12, 2012 08:39 AM by ashwanisaini
Jun 06, 2012 11:31 AM|LINK
I had website runing in .net 2.0, When i change the Framework in IIS 6.0 to 4.0 then it could not load the webiste root page and gives the error below:
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
If i type the page name with domain name then it works.
Jun 06, 2012 12:15 PM|LINK
have you made sure that your site is written in ASP.NET 4.0? Otherwise, you will see this error message
Jun 06, 2012 12:41 PM|LINK
Site was written in ASP.NET 2.0, i just changed the Framework in IIS 6.0 and also i have updated the web.config file according to 4.0. I hav also created a sepreate App Pool. but nothing worked.
I can access any page with domain name/pagename but it does not pick root page if i only see with domain name.
Jun 07, 2012 01:33 PM|LINK
I could not finf a soltuion of this problem, please help. If you need further details i can provide you.
Thansk in Advance.
Jun 08, 2012 04:54 AM|LINK
I believe you need to write your code to .net 4.0 as you have changed your app pool to .net 4 version. If you want to use .net 2, then you need to revert it back to .net 2.0.
Jun 12, 2012 08:39 AM|LINK
Thanks for your Update,
Writing the whole code again in .net 4.0 is not a solution, as it is big project. There must be an alternate solution to this problem.