Visual Studio debug attach to process w3p.exe

Posted on 2010-01-06
Last Modified: 2013-11-26
I've been debugging for months in Visual Studio 2008 on a Vista computer by attaching to the wp3.exe running under network service. This is for test websites running under IIS, not the VS server. All of a sudden, the wp3.exe is showing up as being running using IIS APPPOOL\application name [administrator] which comes up with a security prompt each time I go to attach. Is there a way I can set it up to run under NetworkService again? I have several test websites and the are all the same way when I attach.
Question by:jmestep
    LVL 13

    Accepted Solution

    You can change the identity that the app pool runs under.

    Open the IIS console, find the app pool the website uses.  Right click --> advanced settings --> Under identity, choose Network Service.  Do an IISRESET after.

    IIS APPPOOL identity is new in IIS7 - its there to help create more security for websites that otherwise would have run under the shared network service account.

    Author Closing Comment

    Thanks a lot- that was the answer.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now