472,363 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,363 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 1734
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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
0
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...

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.