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

How to set up privileges for VS.NET developers?

Hi All,

I generated a WebForm and created a Virtual Directory for it IIS. But I got
an error message (shown below) saying something like my app lacked
appropriate privileges.

David Wang replied to an earlier question about this issue, and he informed
me that I needed to include my UserID in the "VS Developers" group in order
to WebForm apps running under my account capable of accessing
\\server\wwwroot$.

That sounds like something I might be able to do on a server. However, I'm
doing WebForm development on WinXP-Pro/SP2 with IIS and FrontPage installed
(and FP integrated appropriately, I believe.) In addition I'm running MSDE
2002 which claims it's using .Net Framework 1.0 (although I'm sure I've got
1.1 installed ... maybe that's a key to my problem???)

I don't see anyway to add my account to VS Developers group. The message I
got is:

=======================
The default Web access mode for this project is set to file share, but the
project folder at http://localhost/MyVirtualProj cannot be opened with the
path "K:\_Projects\WebForms\MyWebProj". The error returned was:

Unable to created Web project "MyVirtualProj". The UNC share
"K:\_Projects\WebForms\MyWebProj" does not exist or you do not have access.
========================

Any further ideas?

Thanks in advance,
Richard

Nov 19 '05 #1
2 1802
http://msdn.microsoft.com/library/de...luredialog.asp
read the above paper it will help you!
"Richard Lionheart" <No***@Nowhere.net> wrote in message
news:OJ**************@TK2MSFTNGP10.phx.gbl...
Hi All,

I generated a WebForm and created a Virtual Directory for it IIS. But I
got an error message (shown below) saying something like my app lacked
appropriate privileges.

David Wang replied to an earlier question about this issue, and he
informed me that I needed to include my UserID in the "VS Developers"
group in order to WebForm apps running under my account capable of
accessing \\server\wwwroot$.

That sounds like something I might be able to do on a server. However,
I'm doing WebForm development on WinXP-Pro/SP2 with IIS and FrontPage
installed (and FP integrated appropriately, I believe.) In addition I'm
running MSDE 2002 which claims it's using .Net Framework 1.0 (although I'm
sure I've got 1.1 installed ... maybe that's a key to my problem???)

I don't see anyway to add my account to VS Developers group. The message
I got is:

=======================
The default Web access mode for this project is set to file share, but
the
project folder at http://localhost/MyVirtualProj cannot be opened with the
path "K:\_Projects\WebForms\MyWebProj". The error returned was:

Unable to created Web project "MyVirtualProj". The UNC share
"K:\_Projects\WebForms\MyWebProj" does not exist or you do not have
access.
========================

Any further ideas?

Thanks in advance,
Richard

Nov 19 '05 #2
Hi David,

Thank you very much for hanging in there with me.

By now I can't even duplicate the problem I originally asked about. That's
because I subsequently "cracked the code" on creating WebForm apps:

When creating a new app via VS' File/New/Project, one need simply to change
the "WebApplication1" portion of the "Location". Having discovered that,
I've had no subsequent access-denied problem.

I confess, I didn't remedy my initial confusion by taking the "obvious" step
of click on the Help button.

My confusion, and perhaps other users' confusion could be avoided by a
modest change to the interface. This retired software engineer recommends
that Microsoft change the Name and Location fields to the following fields:

Base Location: Text Control initialized to http/local/host, read-only

Folder Name: DropDown Control, editable, initially blank, and browseable
only within the http://localhost area

Project Name: TextControl, editable, initialized to "WebApplication1"

Project Location: Text Control, read-only, dynamically reflecting the
combination of Base Location, Folder Name and Project Name (the equivalent
of the current label control.)

I recognize the Microsoft has bigger fish to fry than this simple interface
change, but I immodestly thought I'd make the suggestion anyway.

Thanks again for your expert help.

Best wishes,
Richard


"David Wang [Msft]" <so*****@online.microsoft.com> wrote in message
news:eZ**************@TK2MSFTNGP14.phx.gbl...
I wonder if you just have a bug in your VS.Net project file that has a path
of K:\ instead of UNC server name

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no
rights.
//
"Richard Lionheart" <No***@Nowhere.net> wrote in message
news:er**************@TK2MSFTNGP12.phx.gbl...
Hi Annie,

Thanks for the reference. I didn't find an answer there, so I decided to
back to the "drawing board."

Previously, I had created my own virtual directory using IIS and then
created a new solution using the directory. That gave me access problems,
which I temporally solved by making the virtual directory for
Read/Write/Script/whatever. That solved my problem, though IIS warned me
that making the directory "wide open" was risky.

Today, I created a new project/solution by changing the virtual directory
name from http://localhost/WebApplication1 to
http://localhost/TestingWebAccess. After VS created the project, I
populated the window with a Label control and ran it. NO ACCESS PROBLEM!

Problem solved, at least for the moment. I don't like some of the
default
locations and in time I'll figure out how to relocate folders to my liking
without breaking anything, but at least I can get apps running!

Thanks again for your help.

Best wishes,
Richard
"Annie" <my**************@gmail.com> wrote in message
news:43********@dnews.tpgi.com.au...

http://msdn.microsoft.com/library/de...luredialog.asp
read the above paper it will help you!
"Richard Lionheart" <No***@Nowhere.net> wrote in message
news:OJ**************@TK2MSFTNGP10.phx.gbl...
Hi All,

I generated a WebForm and created a Virtual Directory for it IIS. But I
got an error message (shown below) saying something like my app lacked
appropriate privileges.

David Wang replied to an earlier question about this issue, and he
informed me that I needed to include my UserID in the "VS Developers"
group in order to WebForm apps running under my account capable of
accessing \\server\wwwroot$.

That sounds like something I might be able to do on a server. However,
I'm doing WebForm development on WinXP-Pro/SP2 with IIS and FrontPage
installed (and FP integrated appropriately, I believe.) In addition I'm
running MSDE 2002 which claims it's using .Net Framework 1.0 (although
I'm sure I've got 1.1 installed ... maybe that's a key to my problem???)

I don't see anyway to add my account to VS Developers group. The
message
I got is:

=======================
The default Web access mode for this project is set to file share, but
the
project folder at http://localhost/MyVirtualProj cannot be opened with
the
path "K:\_Projects\WebForms\MyWebProj". The error returned was:

Unable to created Web project "MyVirtualProj". The UNC share
"K:\_Projects\WebForms\MyWebProj" does not exist or you do not have
access.
========================

Any further ideas?

Thanks in advance,
Richard



Nov 19 '05 #3

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

Similar topics

3
by: Marc | last post by:
Hello, I have 3 users in my MySQL server. One of them has Grant access (actually: all privileges). I cannot login as this user using phpMyAdmin - my password is not accepted (though I' m sure it...
4
by: Amardeep Verma | last post by:
Hi, I have a quick question. Which role/privileges are required before a user can give the statement "GRANT ALL PRIVILEGES"? Thanking you in Advance Have a nice day
2
by: Denis Martineau | last post by:
Some user accounts have been created some time ago and we have just found out that they were given privileges they should not have. However, I have no idea which account was used to create them and...
0
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I...
2
by: virgilio | last post by:
Hi all, "Administrator Guide Implementation" DB2 8.2, chapter 7, section "Indirect privileges through a package" states: (highlight >>>>!!!<<<<) "Privileges granted to individuals binding the...
4
by: Feldman Alex | last post by:
Hi all, I need to know the user privileges (does user have administrator privileges) .. Which c# api's should i use? Thanks a lot
1
by: Matthew Smith | last post by:
We have been looking at our environment setup. We initially had developers as domain administrators and thought of removing administration privileges. This seems to break the debugging of ASP.Net...
0
by: Double | last post by:
I reinstall the Visual Studio 2003 and the "vs developers group" is created but without privileges on IIS wwwroot directory ... what why ... ??? all tech articles about "vs developers" account...
0
by: EricBlair | last post by:
Hello, I wrote a windows service that is supposed to start an interactive GUI app. I realize a service will not readily do this so I've pieced together the code below to bypass that. However, the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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
0
BarryA
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...
1
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...
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...

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.