Reputation: 22577
Upgraded server Framework to 4.0. Using Godaddy hosting. The website is now showing this error
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
On searching the internet found this:
The link above says:
Resolution 2 Make sure that the server that is running IIS 7.0 can access the configured root directory of the requested location.
I am not sure what to do.
Upvotes: 0
Views: 3050
Reputation:
Moving from comment to answer so answer may be marked for future reference
Not sure if this would help, but it's an issue I ran into when upgrading to .NET 4. The person who had managed the site before me had used IIS manager to configure settings and it added references to .NET 3.5 in the web.config. Removing all references/assemblies related to 3.5 and below fixed the issue.
Upvotes: 3
Reputation: 1177
This can also happen if you are using third party controls like Telerik or if something is wrong in the web.config file. Try to remove the httpHandlers/httpModules from web.config file and if this solves the problem, you can add them one by one to check which handler/module might be causing the problem.
Upvotes: 1
Reputation: 63512
Is your Application Pool running on .NET 4.0 or .NET 2.0?
http://technet.microsoft.com/en-us/library/cc754523(WS.10).aspx
Upvotes: 4