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 / November 2004

Tip: Looking for answers? Try searching our database.

Cannot attach process for debugging

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
steve02a - 16 Nov 2004 20:40 GMT
When I attempt to attach a running process (w3wp.exe), I guess to a solution
I have open, it won't let me attach it.  The error I get is: "Unable to
attach to the process.  Access is denied."

I'm trying to get this attached so I can debug in my solution.  When I try
to debug, I get the error "Error while trying to run project: unable to start
debugging on web server.  The project is not configured to be debugged."
(even though my project IS configured to be debugged.

Any idea's on why I get these errors, can't attach to a proccess for
debugging?  Thanks in advance.
Scott Tuttle - 18 Nov 2004 20:24 GMT
> When I attempt to attach a running process (w3wp.exe), I guess to a
> solution
> I have open, it won't let me attach it.  The error I get is: "Unable to
> attach to the process.  Access is denied."

Could be a permissions issue.  Are you as admin on the machine you are
attempting to debug to?  Or maybe you need to be added to the VS Debuggers
group.

> I'm trying to get this attached so I can debug in my solution.  When I try
> to debug, I get the error "Error while trying to run project: unable to
> start
> debugging on web server.  The project is not configured to be debugged."
> (even though my project IS configured to be debugged.

Well not only does your visual studio need to be set to debug your iis
application needs to be setup as well.  Go to IIS manager... properties of
the website or application -> Home directory -> Configuration (Application
Settings) -> Debugging Tab - Enabe server side script debugging and client
side script debugging...

> Any idea's on why I get these errors, can't attach to a proccess for
> debugging?  Thanks in advance.

HTH
-Scott

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.