.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Visual Studio has insufficient privileges to debug this process

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :.NET Framework

Hello All,

             I am using VS2008 to debug in Windows 2003 server. I got this error message.


Unable to attach to the process. Visual Studio has insufficient privileges to debug this process. To debug this process, Visual Studio must be run as an administrator.


             I checked that my user name is under administrator group.


Edit : I am trying to debug one of my service application. I am able to debug web applications

View Complete Post

More Related Resource Links

how to use visual studio to debug sql server reporting service 2008 by attaching process


I did custom security extension and want to debug it. I used to debug it using visual studio by attaching its iexplore.exe process using visual studio 2005 and sql server reporting services 2005. After then, I can debug UILogon.aspx.cs and AuthenticationExtension.cs in Microsoft.Samples.ReportingServices.CustomSecurity.dll. When I set break point, it can reach.

Now I used 2008 version for all application. After I attaching process, it can't reach break point I set. I realize sql server reporting services didn't use IIS and it use another component to hold web app. I may affect it and unable to debug it ? Do I need to do any configuration or any thing before I can use visual studio 2008 to do debug by attaching process ?




How can I debug Windows Service using Visual Studio?

How can I debug Windows Service using Visual Studio? I wrote in Visual Studio 2008 Command Promt: installutil -i c:\projects\MyProject\bin\debug\win.exe I did Start to may service ,but every time that I want to debug service I get: Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.   What am I doing wrong?   Thanks, Raya        

can't debug anymore a state machine workFlow in Visual Studio

Hi, I have an issue with debuging a workFlow with visual studio when it should start the workFlow when I create an item nothing happen and sharepoint stay stuck : I can't refresh any lists, visual studio rich 40% of the CPU, no exception on log. At the same time if i deploy without debugging it works. Please help me. Thanks, Patrice  

Insufficient privileges to debug


I've recently set up Server 2008 and, even though my account is in the Administrators group, and in the local policy the "Debug programs" includes admins, I cannot debug from VS - I get:

"Unable to start T-SQL Debugging.  Could not connect to computer 'XXX'.  Visual Studio has insufficient privileges to debug this process.  To debug this process, Visual Studio must be run as an administrator"

Not surprisingly, if I run VS as admin I can debug, but I cannot do it from my account (yes, it belongs to the 'sysadmin' role in SS).  The SQL Server is also running under my account and what I'm trying to debug is a CLR.

I've googled till I'm blue in the face.  Ideas anyone?

thx - e

Insufficient Memory to continue the execution of the program (Microsoft Visual Studio)


Since Upgrading to SSAS 2008, cannot explore Data or Browse cubes from Vista Untimate machine.

I am developing Cubes for Analysis and Data Mining in Microsoft Visual Studio. I am running Vista 64 Untimate on my PC with quad processors and 8G of memory.
Everything was working in SQL Server 2005 and Visual Studio 2005. When we upgraded to 2008 on the server, I can no longer browse the cubes that I create or explore the data in the tables that I am using. I get an insufficient memory to continue program execution message. I did some searching on the internet, and I think that it has something to do with how 2008 server and Vista use forms.
I have found the following detail on the load:

Insufficient memory to continue the execution of the program. (Microsoft Visual Studio)
Program Location:
   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstance()<

Visual Studio 2005 won't enter debug mode.



I am developing asp.net 2.0 using c# and when I place a break point on a line of code and hit f5 or "start debugging" it just brings up the website without stopping at the breakpoint.

 It is set for debug not release and I don't know what else to do? Does anyone have any suggestions?



Visual Studio hangs up after Stop Debug




I have a really annoying Problem with Visual Studio. Sometimes when I press the "Stop" Button (after successful Package runs), Visual Studio freezes itself. And I can't track down the problem:


 - it happens on a random basis. Sometimes after the 50th Package Run, sometimes on the first.

 - Package "size" does not matter

 - "Component used" does not matter.


I searched various boards for a solution and could not find any.


Any Hints / Advices?



Visual Studio 2008 fails to debug an ASP.NET project... Sometimes


I have a very simple ASP.NET 3.5 project. When I start debugging the project, IE sometimes (about 50% of the time) starts, but never connects to the site. I need to exit IE and restart (which does not always work).

I am developing on Windows 7 and using IIS with a virtual folder as the server for my project. I am running Visual Studio 2008 SP1.

Any ideas?

debug and class diagram question, visual studio 2008


Hi. Im working on a project where there are a lot of imported dll's from a company that have e-soultions. now some times when i debug i get to a dead end when a class or method is used from their project. They supplied me with their sourcecode so i got that, now the question is can i somehow debug in my main project and to trace it to their project if i got the source code? (hope im clear on what i want to do)


second question is that i want to print all the classes and inherits, can i get that somehow with the different relations between classes straigh out of visual studio? i know about class diagram but it dont show relations.


thanks for reply

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.

ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

There's a lot of stuff that's new and added in .NET 4, but not in that "overwhelming-I-need-to-relearn-everything" way. More in that, "oh, this is way easier/simpler now" way. Like, moving data around with ADO.NET DataServices is easy, binding with client templates is easy, there's F# if you need it, the "dynamic" keyword if you need it, Silverlight's already installed, oh, and the parallel stuff will freak you out, but in a good way.

Short Overview of SharePoint Features in Visual Studio 2010

As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

Visual Studio Add-In for Web Parts Generation

This article will introduce you to a new Visual Studio 2005/2008 add-in that can be used for Web Parts generation based on a prepared ASCX control/template. The add-in should allow Web Part developers to easily make Web Parts using the Visual Studio HTML designer. It should save you a lot of time and make Web Part development an enjoying experience even for beginners.

This article is written in the form of a step-by-step tutorial. It will give beginners a chance to successfully make, deploy, and try their first Web Parts, and will save some time for advanced users as you can always run into challenges when working with SharePoint.

Code spelling checker extension for visual studio 2010

Building a spelling checker for source code as an extension for visual studio 2010.

Download and Share Visual Studio Color Schemes

The good news is that Visual Studio allows you to completely customize the editor background and text colors to whatever you want - allowing you to tweak them to create the experience that is "just right" for your eyes and personality. You can then optionally export/import your color scheme preferences to an XML file via the Tools->Import and Export Settings menu command.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend