I've looked around online for this problem and I get a lot of 'delete temporary files' and 'restart IIS' answers. The site works fine when I'm running it locally, but when I publish to a windows server hosted via Godaddy I get this error.
Is there any other way I could debug this?
At the bottom of the error page it says:
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
I'm using version 3.5, so I thought the version mismatch was causing the error, but on Godaddy's management page you only get two options:
(1) ASP.Net Runtime Version: 1.1 (2) ASP.Net Runtime Version: 2.0/3.0/3.5
Edit:
This is kind of weird. When I publish the site to the root directory, I get a different error:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Is there something I have to do to set a folder as a web app?
Any thoughts?