I've just setup a Server 2003 R2 Standard box as an Application Server. FTP works fine and I thought IIS was working fine because a simple .htm file isn't giving me any problems. But I wrote a very simple WebApp in VS2005 and when I copy those files to the webserver it just displays this error message:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
- Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
- If you reached this page by clicking a link, contact
the Web site administrator to alert them that the link is incorrectly formatted.
- Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
Technical Information (for support personnel)
- Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
- Open IIS Help, which is accessible in IIS Manager (inetmgr),
and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
I've tried messing with a lot of the IIS settings. I've made sure my website is using ASP.NET 2.0.50727. The website is using Anonymous access. This webapp is as simple as it gets, new webapp project with a single page containing the text "Very Simple Test". I've tried deploying it two ways; copying all of the files in Test.Web and also using the Publish wizard which I think just strips out the unnecessary files. Regardless... I've set it up like this:
- www.test.com/index.htm (works fine)
- www.test.com/testcopied/Default.aspx (errors out)
- www.test.com/testpublished/Default.aspx (errors out)
Any help would be appreciated.
-mddubs