New .NET application won't run in IIS
Posted on 2009-06-30
I have a C# web application. It runs perfectly on the dev system. I published it and copied it to the live server. I manually created a new virtual directory. I set the .NET version to be .NET 2.0. I pointed it to the location of my web app and it gives me a 404 error despite being able to see the files in IIS. If I right mouse click and do Browse I get a 404. I manually created an html file in there called index.html and in there I did a redirect to default.aspx which is in the same folder. I set index.html to be the first file name to look for when no file name is given in the request. The html file loads and after 5 seconds redirects but gives me a 404 error. It is as if IIS can't see the .NET application in the folder. Any ideas welcome. Please ask for more info if needed.