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.
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.