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

Do not have permission to debug on the server (?)

Hi,
First of all I my development environment is a Windows XP Professional
machine. For security reasons my development account is a limited account, I
only use the other account (with administrative privileges) for installing
software and changing configuration, etc.

The problem I am facing now is that I cannot debug my ASP.NET application. I
want to be able to single step through my asp.net code under my
"Development" account (which I also use for web browsing). Unfortunately
when I attempt to do so I get an "Error while trying to run project: Unable
to start debugging on the web server. Access is denied." pop up error.

I followed the steps to make the framework's temporary asp.net folder have
my user account on it with full permissions. But I feel uneasy about placing
my password in clear text in the machine.config file. Is there any other way
to do that?

Regards,
Nov 18 '05 #1
1 3100
Hi .net Ed,

There are two approaches I know of that you can use.

1) Add your account to the Debugger Users group. Unfortunately, this
gives your account SeDebugPriveledge which is mighty privileged in and
of itself. The problem you are facing is that you need
SeDebugPriveledge to be able to break into a process running under a
different security context. So...

2) Run the aspnet process worker process under your account. Yes, this
requires your username and password in the machine.config file, but,
it can be encrypted. See:

Use the ASP.NET Utility to Encrypt Credentials and Session State
Connection Strings
http://support.microsoft.com/default.aspx?scid=329290

To do #2, you'll also need to set the correct permissions on all the
folders, but it sounds like you have that done.

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 13 Oct 2004 17:57:58 +0200, "~~~ .NET Ed ~~~"
<ti*********@abolishspam.now> wrote:
Hi,
First of all I my development environment is a Windows XP Professional
machine. For security reasons my development account is a limited account, I
only use the other account (with administrative privileges) for installing
software and changing configuration, etc.

The problem I am facing now is that I cannot debug my ASP.NET application. I
want to be able to single step through my asp.net code under my
"Development" account (which I also use for web browsing). Unfortunately
when I attempt to do so I get an "Error while trying to run project: Unable
to start debugging on the web server. Access is denied." pop up error.

I followed the steps to make the framework's temporary asp.net folder have
my user account on it with full permissions. But I feel uneasy about placing
my password in clear text in the machine.config file. Is there any other way
to do that?

Regards,


Nov 18 '05 #2

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

Similar topics

0
by: cigwork | last post by:
Using VS.NET 2K3 pro. My development environment is set up with project & source files on a network drive and until a recent server hardware failure followed by a restore/rebuild this worked...
12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
3
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
0
by: cig | last post by:
Using VS.Net 2K3 Pro. My development environment is set up with project & source files on a network drive and until a recent server hardware failure followed by a restore/rebuild this worked...
7
by: Ken | last post by:
Hi guys, this is a curios thing, everything was working fine then I had to restore my development machine( VS.NET, SQL server etc) now I'm receiveing this error from my asp aplication only in...
4
by: Lastie | last post by:
Hi all, I’m an ASP developer but I just started to try and learn ASP.NET. I have the following code but it seems like I have a permissions problem. <%@ Page Language="VB" Debug="true" %>...
2
by: scott | last post by:
Hi, I followed everything this article suggests: http://support.microsoft.com/default.aspx?scid=kb;EN-US;836734 Yet I still get the following message when stepping into a SP: "Cannot...
2
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
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...
0
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,...
0
jinu1996
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...
0
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...

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.