I have a classic asp application in a .NET 4.0 application. I set the default document to login.asp, but it does not automatically redirect to it. The whole application works fine and even displays login.asp correctly if I view it.
The default section of the document in the web.config file is as follows:
<defaultDocument> <files> <clear /> <add value="login.asp" /> <add value="index.html" /> <add value="default.aspx" /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="iisstart.htm" /> </files> </defaultDocument>
I looked at other similar issues on this site, but didn't really help.
source share