Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / June 2004

Tip: Looking for answers? Try searching our database.

New version of Unable to Start Debugging on the Web Server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott Cornell - 04 May 2004 16:24 GMT
Recently I accidentally downloaded some adware called
VX2.BetterInternet onto my Windows 2003 server which I use for
development.  After getting rid of the adware, I discovered that it
had killed my Visual Studio debugger.  I was getting a message not
found in the http://www.gotdotnet.com/team/csharp/learn/whitepapers/howtosolvedebuggerproblems.doc
document.  When trying to start a web application with debugging (F5),
Visual Studio would return this message:

"Error while trying to run project:  Unable to start debugging on the
web server.  You do not have privileges to debug the web server
process.  Contact an Administrator to get the debug privileges on the
server.  You may also want to refer to the ASP.NET and ATL Server
debugging topic in the online documentation."

Research and comparing my server to other developers' in my office
utlimately revealed that the local security policy settings had
changed.  Here is what I had to do to fix the problem.

From Administrative Tools, open the Local Security Policy snap-in for
Microsoft Management Console.  Open the Local Policies node and then
the User Rights Assignment node.  Open the properties of the "Debug
Programs" policy.  On my server, the adware removed all security
settings for this policy.  It should have the Administrators group and
the VUSR_yourcomputername user in the list.  If not, add them and save
the properties.  Then close the Microsoft Management Console.

If you had to modify the security policy above, open a command prompt
window.  (Assuming that the system32 directory is part of the path
environment variable, you should not need to change directories.)
Update the group policy by typing the following command:
   gpupdate /force

For Windows 2000 users, there is a different command set.  See
http://support.microsoft.com/default.aspx?id=227448

After updating the group policy, I had to reboot the server in order
for the change to take effect.

I hope I can make someone else's life a little easier with this
information.
gopalkrishnam@intelligroup.com - 26 May 2004 13:55 GMT
Thanks very much for your info. But after rebooting the machine, the properties of the "Debug Programs" policy is resetting again to empty. Pls let me know what could be the problems.

Rgds,
-Gopi
Peter - 28 May 2004 13:10 GMT
I think you still have that adware sitting, which removes the settings.
Yesterday I had a pleasure to spend 9 hours observing the behaviour of
several such beasts (very curious things they can do!) and trying to nail
them down. Finally I got my kill but left repairs for today...

> Thanks very much for your info. But after rebooting the machine, the properties of the "Debug Programs" policy is resetting again to empty. Pls
let me know what could be the problems.

> Rgds,
> -Gopi
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
gopalkrishnam@intelligroup.com - 01 Jun 2004 09:13 GMT
Can you pls let me know few of such type of adwares. I don't have any thing installed on my machine except Norton antivirus software, biztalk 2004, VS .NET. Pls let me know where to find out such type of adwares. Thanks.
gopalkrishnam@intelligroup.com - 21 Jun 2004 06:48 GMT
But in my case, after rebooting the server again, "Local Security Policy \ Debug Programs" becomes empty. Could you pls let me know what kind of adwares causes this kind of problem? My machine is a windows 2003 server contains vs.net 2003 and BizTalk 2004.

TIA
-Gopi

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.