473,847 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running Virtual Folder on Network Share with a different user.

Hi,

I am in a shop where developers are required to work off of a network
share. This is so that code is backed up nightly.

So I am testing running an ASP.NET Web application with a Class
assembly all on a shared drive.

I have the solution working perfectly. However, I have run into a
hiccup. In order to map IIS Virtual Dir to a network drive, you need
to specify a username/password. When I use the username/password of
the person logged into XP for the Virtual Folder, then I can debug my
ASP.NET app with no problems. However, if I set the Virtual Folder to
connect as another ACL, then I get an error when debugging: Access
Denied. If I log out of XP and then back in as that Virtual Folder
user, I can debug the ASP.NET application.

Here is my configuration:
Developer Workstation: XP
File Server: Windows 2000
CAS on XP has Full Trust of Windows 2000

Two users: A & B
Domain Users
Administrators on both machines.

IIS/ASP.NET on XP runs as A (through processModel machine.config)
Impersonation is off.

Virtual Folder 'Connects As' either A or B (ideally B)
- using \\server\share. I tried mapping the drive and then using the
drive name but I receive 'The system cannot find the path specified'
from IIS MMC.

To Recap:
1) - Logged into XP = A
- processModel = A
- Virtual Folder = A
A can debug ASP.NET application.

2) - Logged into XP = B
- processModel = A
- Virtual Folder = B
B can debug ASP.NET application.

3) - Logged into XP = A
- processModel = A
- Virtual Folder = B
A CANNOT debug ASP.NET application: Access Denied

4) - Logged into XP = B
- processModel = A
- Virtual Folder = A
B CANNOT debug ASP.NET application: Access Denied
The reason we want to have Virtual Folder connect as B is because B
will be a generic username/password with special access to the File
Server. A will be any of the developer ACLs.

This is to prevent administration with a couple 100 developers
changing 1000s of local virtual folders each time their passwords
change.

Regards,
Ross
Nov 18 '05 #1
2 2652
wouldn't using Source Safe take care of even needing this funky setup?
Why use a huge hinkey workaround so you get backups, why not just do backups
properly?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"flat_ross" <fl*******@yaho o.com> wrote in message
news:19******** *************** ***@posting.goo gle.com...
Hi,

I am in a shop where developers are required to work off of a network
share. This is so that code is backed up nightly.

So I am testing running an ASP.NET Web application with a Class
assembly all on a shared drive.

I have the solution working perfectly. However, I have run into a
hiccup. In order to map IIS Virtual Dir to a network drive, you need
to specify a username/password. When I use the username/password of
the person logged into XP for the Virtual Folder, then I can debug my
ASP.NET app with no problems. However, if I set the Virtual Folder to
connect as another ACL, then I get an error when debugging: Access
Denied. If I log out of XP and then back in as that Virtual Folder
user, I can debug the ASP.NET application.

Here is my configuration:
Developer Workstation: XP
File Server: Windows 2000
CAS on XP has Full Trust of Windows 2000

Two users: A & B
Domain Users
Administrators on both machines.

IIS/ASP.NET on XP runs as A (through processModel machine.config)
Impersonation is off.

Virtual Folder 'Connects As' either A or B (ideally B)
- using \\server\share. I tried mapping the drive and then using the
drive name but I receive 'The system cannot find the path specified'
from IIS MMC.

To Recap:
1) - Logged into XP = A
- processModel = A
- Virtual Folder = A
A can debug ASP.NET application.

2) - Logged into XP = B
- processModel = A
- Virtual Folder = B
B can debug ASP.NET application.

3) - Logged into XP = A
- processModel = A
- Virtual Folder = B
A CANNOT debug ASP.NET application: Access Denied

4) - Logged into XP = B
- processModel = A
- Virtual Folder = A
B CANNOT debug ASP.NET application: Access Denied
The reason we want to have Virtual Folder connect as B is because B
will be a generic username/password with special access to the File
Server. A will be any of the developer ACLs.

This is to prevent administration with a couple 100 developers
changing 1000s of local virtual folders each time their passwords
change.

Regards,
Ross

Nov 18 '05 #2
Perhaps your company should go with the more standard approach of letting
the developers work locally connected to a centralized SourceSafe database.
That database can then be backed up nightly.
You're just asking for headaches with such a non-standard approach.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"flat_ross" <fl*******@yaho o.com> wrote in message
news:19******** *************** ***@posting.goo gle.com...
Hi,

I am in a shop where developers are required to work off of a network
share. This is so that code is backed up nightly.

So I am testing running an ASP.NET Web application with a Class
assembly all on a shared drive.

I have the solution working perfectly. However, I have run into a
hiccup. In order to map IIS Virtual Dir to a network drive, you need
to specify a username/password. When I use the username/password of
the person logged into XP for the Virtual Folder, then I can debug my
ASP.NET app with no problems. However, if I set the Virtual Folder to
connect as another ACL, then I get an error when debugging: Access
Denied. If I log out of XP and then back in as that Virtual Folder
user, I can debug the ASP.NET application.

Here is my configuration:
Developer Workstation: XP
File Server: Windows 2000
CAS on XP has Full Trust of Windows 2000

Two users: A & B
Domain Users
Administrators on both machines.

IIS/ASP.NET on XP runs as A (through processModel machine.config)
Impersonation is off.

Virtual Folder 'Connects As' either A or B (ideally B)
- using \\server\share. I tried mapping the drive and then using the
drive name but I receive 'The system cannot find the path specified'
from IIS MMC.

To Recap:
1) - Logged into XP = A
- processModel = A
- Virtual Folder = A
A can debug ASP.NET application.

2) - Logged into XP = B
- processModel = A
- Virtual Folder = B
B can debug ASP.NET application.

3) - Logged into XP = A
- processModel = A
- Virtual Folder = B
A CANNOT debug ASP.NET application: Access Denied

4) - Logged into XP = B
- processModel = A
- Virtual Folder = A
B CANNOT debug ASP.NET application: Access Denied
The reason we want to have Virtual Folder connect as B is because B
will be a generic username/password with special access to the File
Server. A will be any of the developer ACLs.

This is to prevent administration with a couple 100 developers
changing 1000s of local virtual folders each time their passwords
change.

Regards,
Ross

Nov 18 '05 #3

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

Similar topics

6
2039
by: Paul | last post by:
Hello everyone: I am developing a VB.Net Windows Application and I am now ready to create the deployment project for it. This application needs to be installable on a different number of users / clients, and the application has an Access DB out on their network. How can I create a deployment routine where I can have a dialog box prompt for the network share (i.e. \\server\dbfolder) at install-time? Once network the share is specified...
1
1947
by: CES | last post by:
All, If anyone has been following my trials over the last week see(Setting up a Web Application on IIS 5.1 and ASP.Net Security Problems). I'm having a problem running a Asp.Net Web Application. I've finally narrowed the problem down to a security issue: The ASPNET (aspnet_wp) account cannot connect to a Network resource instead of using a local path ie: C:\Inetpub\wwwroot my development site resides on a Network Share...
8
2498
by: JR | last post by:
I have a Web server running on Windows XP. On this Web server, I have a Web site configured with its home directory on a network share. In the Web site, there's a virtual folder pointing to a local folder on the Web server containing an ASP.NET application. I get a "Failed to start monitoring changes" when I try to run the application. If I try to debug, I get a message "unable to start debugging on the Web server". I put an...
10
3666
by: Wm. Scott Miller | last post by:
We have a intranet site that allows one of our departments to search a set of pdfs and then look at them. Only problem is that only they and us geeks should be allowed to see the pdfs. We have it locked down except for when a person directly types in the url to a pdf. Currently, the PDFs are in a virtual directory off the root of the server. Putting it under the search site also doesn't work. My understanding is that IIS looks as the...
11
2330
by: ASP.NET User | last post by:
Hi I am in a shop where developers are required to work off of a networ share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe which we also use for code control. The network drive is used as the working folder. This is a configuration this shop has used for 6 years and I do not see it changing any time soon So I am testing running an ASP.NET Web application with a Clas...
2
2617
by: BLetts | last post by:
I have an ASP.NET app that must allow users to upload files. The files are stored in a virtual directory. I use Server.MapPath to map from the virtual directory name to a physical path, then the FileUpload control SaveAs method to upload and save the file. This all works fine when the virtual directory points to a local drive on the ASP.NET server. However, when pointing to a remote drive (which is what my client wants to do), I get...
5
6951
by: mbosco51 | last post by:
Hi. I have a virtual path setup in order to give my web server access to a file on my app server. I am using the file system object to check for the existance of the file and if it exists, it has to validate the file date. The problem is I can't seem to find the file. I can successfully check for the existance of a file on the web server, but once I enter the virtual path it can't find anything. All three of these calls return...
4
4680
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients and a desktop shortcut to the exe out on the network)... but is it really a good idea? What are some arguments for and against running a .NET Windows Forms client from a network share? Here is my initial list... I'd appreciate any additions,...
1
3407
by: charlieruss | last post by:
Hello, My problem is as follows: I am using IIS 5.1 with .net 1.1 I have a shared folder on a different computer on our network which I want to add as a virtual directory on my computer so that I can use <!--#include virtual="virtualDirectoryName/someFile.html" --> So, the problem is that I can only gain access to this virtual folder from my asp page when i set impersonate="true" and set the explicit user to gain access to the virtual...
0
9887
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9730
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10983
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10341
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7883
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7056
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5719
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4119
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3164
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.