Click here to Skip to main content
15,917,642 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am creating a virtual directory, by following steps,

To create a virtual directory in IIS 7.0 or 7.5

1:From the Start menu, click Run, then type inetmgr to open the Internet Information Services (IIS) MMC snap-in.

2:In the left pane, expand the node with the computer's name, and then expand the Sites node.
Right-click Default Web Site, and then select Add Application to open the Add Application window.
In the window, type servicemodelsamples as the alias for the virtual directory that you are creating.

3:Create the following directory: %SystemDrive%\inetpub\wwwroot\servicemodelsamples
Set the physical path to %SystemDrive%\inetpub\wwwroot\servicemodelsamples.

4:Click OK.


But while browsing my application via IIS.It gives me list of all files in that dirctory.
While I am clicking on that file for navigating my default page, then at that time it gives me
an error "404 file not found"


Thanks in advance.
Posted
Updated 17-Apr-13 1:55am
v2

1 solution

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