473,573 Members | 2,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\wwwroo t$.

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\W ebForms\MyWebPr oj". The error returned was:

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

Any further ideas?

Thanks in advance,
Richard

Nov 19 '05 #1
2 1818
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******** ******@TK2MSFTN GP10.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\wwwroo t$.

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\W ebForms\MyWebPr oj". The error returned was:

Unable to created Web project "MyVirtualProj" . The UNC share
"K:\_Projects\W ebForms\MyWebPr oj" 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 "WebApplication 1" 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 "WebApplication 1"

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******** ******@TK2MSFTN GP14.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP10.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\wwwroo t$.

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\W ebForms\MyWebPr oj". The error returned was:

Unable to created Web project "MyVirtualProj" . The UNC share
"K:\_Projects\W ebForms\MyWebPr oj" 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
2707
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 must be the right one). I CAN login as any of the other users. When I do this and choose 'privileges' I get the overview: User - Host - Password...
4
98970
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
11446
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 when I use a DBA account to revoke these privileges I get the following message: "ORA-01927: cannot REVOKE privileges you did not grant" Any...
0
10575
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 could tell, with no warnings or error messages. In nearly all respects, the database appears to be running as expected. I have the book "PHP and...
2
2186
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 package and to PUBLIC are used for authorization checking when static SQL is bound. Privileges granted through groups are >>>>not!!!!<<<< used for...
4
12879
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
989
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 applications. What security settings do others use for developer accounts?
0
1460
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 says that is a group with hight right privileges on system ... ... ... (or only is writte privilege on wwwroot) Its a documented install error...
0
4631
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 call to CreateProcessAsUser always returns a 1314 error: 'A required privilege is not held by the client.' I realize from the doc's that the calling...
0
7686
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...
0
8009
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. ...
0
8060
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...
0
6406
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5289
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...
0
3731
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2194
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1296
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1036
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...

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.