473,398 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Creating IIS Web Server Virtual Directories

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.

Nov 18 '05 #1
3 1499
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.

--
Regards,

Deepak
[I Code, therefore I am]
"news.iq.ca" <RE***********************@yahoo.com> wrote in message
news:41a42a0a$1_4@aeinews....
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.

Nov 18 '05 #2
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
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.

Nov 18 '05 #3
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?

--
Ben Strackany
www.developmentnow.com

<a href="http://www.developmentnow.com">dn</a>
"news.iq.ca" <RE***********************@yahoo.com> wrote in message
news:41a42a0a$1_4@aeinews....
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.

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the...
0
by: Ken Wigle | last post by:
All, I am trying to add some .net applications I wrote to a virtual directory underneath the sharepoint services web site. I am having some problems and wondering if a) this is possible and/or...
6
by: Eran Kampf | last post by:
I am trying to dynamically create directories in my ASP.NET application (I am using Server.MapPath("/")+"test" as the folder) and I am getting a DirectoryNotFoundException saying "Could not find a...
2
by: Jeffry van de Vuurst | last post by:
Hi, (sorry for the crosspost, I wasn't sure which was the best place to put this). I was just thinking about something and wondered if any of you has some ideas about this. I'm using the...
3
by: Stelrad Doulton | last post by:
Hi, I am having a strange problem on IIS 6.0. I am trying to create directories under a virtual directory on the fly to which I will upload files and retrieve these files later. I am having 2...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
3
by: Microsoft | last post by:
I have a web site called www.test.com I have a folder under the wwwroot called \testfolder\ How do I turn \testfolder\ into a virtual directory. I don't need rights and settings, I've...
2
by: Lucky | last post by:
Hello Guys, after long long time. i'm back again with some questions. right now i'm developing a code that fetch the list of websites from IIS 5.0 or later and also cretes the Virtual Directory...
2
by: Angelo Cook | last post by:
how do you prevent the publishing of virtual directories in VS 2005. I have been using VS2003 and developing websites for years. I have been using virtual directories for images, icons, styles...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.