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 2 2623
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*******@yahoo.com> wrote in message
news:19**************************@posting.google.c om... 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
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*******@yahoo.com> wrote in message
news:19**************************@posting.google.c om... 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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,...
|
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...
| |