Creating IIS Web Server Virtual Directories

N

news.iq.ca

Hello.

Under

C:\Documents and Settings\Administrator\My Documents\My Projects\

I have created a folder, "ASPNET" where I plan to keep my projects.

I have started Administrative Tools -> Internet Information Services and
under "Default Web Site" I have created a virtual folder with the label
"ASPProjects" pointing to C:\Documents and Settings\Administrator\My
Documents\My Projects\ASPNET

I can see my *.aspx files in the right pane of IIS admin - everything looks
fine. However, when I try to open an aspx file, using, for instance

http://localhost/ASPProjects/CheckBoxList.aspx

IE gives me this:

Server Error in '/ASPProjects' Application.
--------------------------------------------------------------------------------

Server cannot access application directory 'C:\Documents and
Settings\Administrator\My Documents\My Projects\ASPNET\'. The directory does
not exist or is not accessible because of security settings.
No matter how I played with the permissions, I still can't make it work.
What am I doing wrong here ?
WinXP Pro SP2.

Thank You,
Alex.
 
D

Deepak

You may have already done so, and if yes then please excuse me for asking
this.
Have you created a bin folder under C:\Documents and
Settings\Administrator\My
Documents\My Projects\ASPNET

and have you also copied your web.config and global.asax to the root folder
of your application.
 
D

David

Did you make it an application?

If not go to IIS -> ASPProjects -> Properties -> Virtual Directory Tab
and under Application settings Click the Create button.

Hope this helps
 
B

Ben Strackany

Is your web site running as Administrator? If you move that ASPNET folder to
a different folder (e.g. "c:\inetpub\aspnet") & change the virtual directory
to point to that new location, does it start working?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top