Trailing slash in IIS

If you’re managing a site on IIS, please use a trailing slash when specifying the home directory in IIS Manager. I must have spent an hour tracking down an apparent bug that turned out to be nothing more than a home directory that looked like this:

d:\inetpub\thehost.com\wwwroot

rather than

d:\inetpub\thehost.com\wwwroot\

Don’t know that it actually matters all that much, but if you’re using the server.transfer() or server.execute() methods of the server object in ASP, you’ll get errors.

Leave a Reply

Your email address will not be published. Required fields are marked *