Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I set the default “index” landing page (also known as the default content page) on a Classic ASP file?

While setting up a simple first “Hello World” style classic ASP program locally, I remember how things are set up on the server where I will eventually migrate my work to.

On the server, in IIs, when I right-click on a Web Site, I can see properties.

https://i.stack.imgur.com/HLS0K.png[^]

And that brings up a tabbed dialog box where one of the tabs is “Documents”

https://i.stack.imgur.com/JqlzM.png[^]

So, here, clearly I can set the name of the default content page. Naturally, I want to set this up locally on my Windows 10 computer.

Now, eventhough I believe I have set up IIS on my side. Things do now look the same on my side. I have a windows 10 Operating System and so I expect things will look a bit differently according to style. But I am hoping the functionality will be the same? Will the functionality be the same? On my end, on my Windows 10 computer, this is what I see when I right click on my web site? I do not see anything about "Properties" which would bring up a dialog box where I can set the default content page.

https://i.stack.imgur.com/m6QQi.png[^]

Please be so kind as to advise.

I know, or at least I have read online is, that classic ASP is part of IIS. So, here is the information I have gotten when I check the version of the ISS systems.

My local windows 10 iSS, help --> about menu selection produces this information:

https://i.stack.imgur.com/cGuZ7.png[^]

On the server, the IIS has two options that come up in the Help menu that I find interesting. They are "About Microsoft Management Console..." and "About Internet Information Service (IIS) Manager...

https://i.stack.imgur.com/bEyrO.png[^]

The information dialogs that come up when clicking on these are:

https://i.stack.imgur.com/u9pLI.png[^]

and

https://tinyurl.com/8y3cdwfy

So, that is all I got thus far. How to I proceed in setting up my ASP development capacity locally?

What I have tried:

I am stuck.
I do not know what to try.
Posted
Updated 23-Aug-21 21:41pm

1 solution

Your server is running IIS 6 on an unsupported OS - Windows Server 2003 has been "end of life" since 2015.

In IIS 7 and later, the default document is managed using the "Default Document" option in the "IIS" group in the central panel, or via the web.config file.

Default Document <defaultDocument> | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900