mardi 21 avril 2015

Create Defaul Page in Subfolder in VB.Net

Vote count: 0

I created a web project in VB.Net and deployed it on an IIS 7.0.

This application is in a sub folder named /api.

I am unable to set the default document for this sub folder

I already tried to make a web.config entry with following code:

 <system.webServer>
      <defaultDocument enabled="true">
           <files>
                <clear/>               
                <add value="Default.htm"/>
           </files>
     </defaultDocument>
 <system.webServer>

But this doesn't work. I'm always getting a 404 error when accessing this sub folder by browser.

The list with the default documents which is configured in my IIS includes the following entry:

Default.htm

asked 1 min ago



Create Defaul Page in Subfolder in VB.Net

Aucun commentaire:

Enregistrer un commentaire