I recently upgraded my web app to .NET 4.5. After pushing the code to our testing environment, I get a "404 – File or directory not found." error. The code runs fine from my VS2013 desktop. The web server is running IIS 7.5 on W2K08 R2. I can view .asp or .htm page on the site, but get this error when try to view the simplest of .aspx pages. I'm suspect it's a configuration issue with my web.config.
Getting a 404 error after upgrading to ASP.NET 4.5
asp.netconfigurationiis-7.5
Best Answer
Here is the web.config. http://go.microsoft.com/fwlink/?LinkId=235367.