473,287 Members | 1,492 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,287 software developers and data experts.

Sharing problem when local path of virtual directory is modified

Hi,

I created a new directory on my WinXP-Pro/SP2 file system. Then I
created a virtual directory in IIS pointing to that local directory.
After completing that, I noticed that I had a mispelling in the name
of the parent directory of that local directory.

I "improved" the situation by creating a correctly-spelled peer of that
parent directory. Then I dragged my new local directory from its
misspelled parent to the correctlyl spelled parent.

Finally, I edited the local-path property of my virtual directory to
target the new parent-directory path. Then I tried to create a new web
project in VS.NET, which promptly complained that:

========== Complaint ========
The default Web access mode for this project is set to file share, but
the project folder at "http://localhost/Web Control Library" cannot be
opened with the path 'C:\ASP.NET New Examples\WebControlLibrary'. The
error returned was:

Unable to create Web project 'Web Control Library'. The UNC share
''C:\ASP.NET New Examples\WebControlLibrary' does not exist or you do
not have access.
=========== End ===========

I compared the Share attributes on my new directory with other
directories that had worked fine. The others didn't seem to have any
sharing. Mine, in fact did have a share set up, as the complaint said.
I'ld like to learn exactly what's wrong rather than mekely deleting the
stuff I've done and starting over in creating a virtual directory. Any
ideas?

TIA,
Richard

May 14 '06 #1
1 1627
Hi,

I see there's an ASPNET account that ASP.NET presumably runs under, so
it looks like IIS somehow assigns access privileges to the either the
virtual directory name or the local directory name, but I can't see
where or how that's been done, if at all.

Regards,
Richard

Richard wrote:
Hi,

I created a new directory on my WinXP-Pro/SP2 file system. Then I
created a virtual directory in IIS pointing to that local directory.
After completing that, I noticed that I had a mispelling in the name
of the parent directory of that local directory.

I "improved" the situation by creating a correctly-spelled peer of that
parent directory. Then I dragged my new local directory from its
misspelled parent to the correctlyl spelled parent.

Finally, I edited the local-path property of my virtual directory to
target the new parent-directory path. Then I tried to create a new web
project in VS.NET, which promptly complained that:

========== Complaint ========
The default Web access mode for this project is set to file share, but
the project folder at "http://localhost/Web Control Library" cannot be
opened with the path 'C:\ASP.NET New Examples\WebControlLibrary'. The
error returned was:

Unable to create Web project 'Web Control Library'. The UNC share
''C:\ASP.NET New Examples\WebControlLibrary' does not exist or you do
not have access.
=========== End ===========

I compared the Share attributes on my new directory with other
directories that had worked fine. The others didn't seem to have any
sharing. Mine, in fact did have a share set up, as the complaint said.
I'ld like to learn exactly what's wrong rather than mekely deleting the
stuff I've done and starting over in creating a virtual directory. Any
ideas?

TIA,
Richard


May 14 '06 #2

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

Similar topics

1
by: JoeS | last post by:
Is there anyway to share a single pch file between projects in VC 7.0? I have 300+ projects each of which creates its own pch. All projects include the exact same header files in the precompiled...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
0
by: Nabani Silva | last post by:
Hi, hope someone could help I need to share session state (and contents) through differente web applications. I'm trying to get it done by using StateServer session state, below I paste code...
1
by: Tod Birdsall, MCSD for .NET | last post by:
Hi All, I have two ASP.NET applications which I am trying to have share forms authentication. But I am running into problems. App A is an ASP.NET 2.0 Beta 2 application. App B is an ASP.NET...
2
by: tshad | last post by:
I am trying to use my IIS web server on my local machine for testing my web site. The problem is that periodically it will not use the virtual directory for the root. This happens for my...
1
by: David Belohrad | last post by:
Dear All, could someone give a hint? I'd like to share the resources as follows: A shared class which works as counter of number of shared resources: class Shared { public: Q_PCBShared()...
10
by: Eric | last post by:
Hello, I have some server side includes on a Classic asp page that look something like: <!-- #include virtual="/includes/file1.asp"--> <!-- #include virtual="/includes/file2.asp" --> <!--...
8
by: Cirene | last post by:
I have 1 master page in the root of my website that I would like to share with all pages, even those in my /admin and /client directories. But when pages in the subdir's are viewed the img, css,...
0
by: Uwe | last post by:
Hi, I'm currently developing an ASP.NET application with my own MembershipProvider. Login works fine on my local machine (IIS7) in a virtual directory of IIS. I just deployed the application to a...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.