I'm playing with the last Beta for VS 2005 and trying to build an ASP.NET
web app. I have been using the built-in development web server so far, but
I think I may need to switch to IIS. The reason is that I want to redirect
404 errors to an .aspx page that will do some special handling of that
article (based on an article from asp.NET magazine). I couldn't figure out
a way to customize the error pages for the built in webserver. If there is
a way to do this, I'd prefer to avoid IIS for now, but if not...
I'm running IIS on a XP Pro SP2 (so I'm assuming it's IIS 5). It looks like
the Visual Studio install installed ASP.NET into IIS. I've used the Visual
Studio "Copy Web Site...", tool to copy my website to my local IIS server.
That did seem to create the directories and move all files. However, when I
try to browse to http://localhost/res/default.asp, I get an error message
of, "The XML page cannot be displayed". So it seems IIS doesn't realize
that this is an .aspx page it should compile and run, rather than server
raw. I'm not sure how to set this up properly. Once I get my project
basically working, what do I need to do to allow debugging (i.e. so I can
use my local IIS as my development web server)? Once that's all figured
out, I think I know how to do the 404 redirection.
Thanks