J
jonny
I followed the instruction below to create a virtual directory. I am
able to open htm pages, but I cannot open ASP pages. Here is the error
I am getting "Object reference not set to an instance of an object.".
Do I have to have Windows Server 2003 to open ASP pages in web
browser?
How can I overcome this problem?
Create a virtual directory
1. Open IIS Manager by going to Control Panel -> Administrative Tools -
folder, right-click the site or folder within which you want to create
the virtual directory, point to New, and then click Virtual
Directory . The Virtual Directory Creation Wizard appears.
2.
Click Next.
3.
In the Alias box, type a name for the virtual directory. (Choose a
short name that is easy to type because the user types this name.)
4.
Click Next.
5. In the Path box, type or browse to the physical directory where
your application resides, and then click Next. For example, if your
application is located in C:\Documents and Settings\johnnelson
\MyWebSites\ReportingSite, you would browse to this directory.
6.
Choose the defaults on the next two pages.
7.
Click Finish.
able to open htm pages, but I cannot open ASP pages. Here is the error
I am getting "Object reference not set to an instance of an object.".
Do I have to have Windows Server 2003 to open ASP pages in web
browser?
How can I overcome this problem?
Create a virtual directory
1. Open IIS Manager by going to Control Panel -> Administrative Tools -
In IIS Manager, expand the local computer, expand the Web SitesInternet Information Services.
folder, right-click the site or folder within which you want to create
the virtual directory, point to New, and then click Virtual
Directory . The Virtual Directory Creation Wizard appears.
2.
Click Next.
3.
In the Alias box, type a name for the virtual directory. (Choose a
short name that is easy to type because the user types this name.)
4.
Click Next.
5. In the Path box, type or browse to the physical directory where
your application resides, and then click Next. For example, if your
application is located in C:\Documents and Settings\johnnelson
\MyWebSites\ReportingSite, you would browse to this directory.
6.
Choose the defaults on the next two pages.
7.
Click Finish.