aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

    Hi all.

    I'm having a nasty problem. A client's website was originally written with
    classic ASP. They requested a new portion of the site that was deemed a
    perfect candidate for ASP.NET. So, .NET was installed on their web server
    and one of the subdirectories in the web site was converted to a virtual
    application to support the new pages that would be added. The rest of the
    site was left untouched. New aspx files were added to this subdirectory and
    compiled code was put in it's \bin directory. All worked well in testing,
    even on their server.

    Then, one day, a report was made that a user could not access one of the new
    pages in the new virtual. A server error was being reported to the user. The
    client's IT dept rebooted the web server to "fix" the problem and all worked
    well again until the next night. Again, the same problem. Only this time,
    the server was fine by the time I was told to investigate and no reboot was
    performed.

    I looked through the event logs for application errors and have found 3
    different errors involving .NET.
    1.) aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
    2.) aspnet_wp.exe (PID: 3148) was recycled because it was suspected to
    be in a deadlocked state. It did not send any responses for pending requests
    in the last 180 seconds. This timeout may be adjusted using the
    <processModel responseDeadlockInterval> setting in machine.config.
    3.) The system has called a custom component and that component has
    failed and generated an exception. This indicates a problem with the custom
    component. Notify the developer of this component that a failure has
    occurred and provide them with the information below.
    Component Prog ID: SC.Pool 9 4
    Method Name: IDispenserDriver::DestroyResource
    Process Name: aspnet_wp.exe
    The serious nature of this error has caused the process to terminate.
    Exception: C0000005
    Address: 0x272116E4
    Call Stack:
    MSDART!MPInitializeCriticalSection + 0x11C
    oledb32!CSCDispMan::GetDispenserManager(unsigned short *) + 0x3D
    COMSVCS!ATL::CComPolyObject<class CStdTrustable>::QueryInterface(struct
    _GUID const &,void * *) + 0x55

    When I cross-reference the IIS logs with the timestamps reported in the
    event logs for these errors, there doesn't appear to be any pattern. In 15
    instances, only one of them seems to involve one of the new ASPX pages. All
    other cases are in various directories, involving classic ASP pages. I don't
    get it. Whenever the 3rd error occurs, it is always followed immediately by
    the 1st error and whenever the 1st error is reported, no ASP.NET pages can
    be displayed.

    I cannot for the life of me get this to happen at will. They happen at
    varying times of the day. I've even removed the new .NET pages and virtual
    for the subdirectory, but it still happens.

    Is there a way to prevent the process from stopping when things go wrong? Is
    there a setting I'm missing? Why does it seem that these errors are
    happening with pages that don't even use ASP.NET, yet the aspnet_wp.exe is
    always the process generating the errors?

    Please, help.

    --
    Matt Sollars
    [email]matt@hypersite.net[/email]
    -------------------
    The Hypersite Network
    2002 N. Salisbury Blvd.
    Suite C
    Salisbury, Maryland 21801
    T: 410.749.2000
    F: 410.219.3400
    [url]http://www.hypersite.net[/url]


    Matt Sollars Guest

  2. Similar Questions and Discussions

    1. Web.config: <allow users="xxxx" /> Where does xxxx come from?
      I'm using Forms Authentication. When I authenticate a user from a database, I use the following line:...
    2. aspnet_wp.exe ... stopped unexpectedly when calling COM object using late binding
      Here I go again. Some time ago I wrote a VB.NET web service application that called a COM object written in VB6 using late binding. It was the only...
    3. No PDF file was created because xxxx.doc does not exist
      Adobe Professional 6.01 Windows XP Novell/Windows Network Compaq 2 Ghz, 2GB RAM I am: Help Desk Tech User can't create PDF documents. She does...
    4. Web Services Stopped Unexpectedly with Event ID 7031
      Hello Everyone, We have been getting the EventID 7031 errors ever since we installed SP 3. We have been searching for any possible solution,...
    5. aspnet_wp.exe stopped unexpectedly
      I have seen some other posts about this particular problem. Mine is a random problem, probably tied to memory consumption but I am trying to figure...
  3. #2

    Default Re: aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

    Hi,

    If you are using any VB6 dlls from your pages check that Retained in
    memory and Unattended execution options are checked. I got it once, this
    behavior documented in MS.

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default RE: aspnet_wp.exe (PID: xxxx) stopped unexpectedly.

    Hello Matt,

    Natty is right. "ASP.NET Worker Process (Aspnet_wp.exe) Is Recycled Unexpectedly" error is documented in one Microsoft
    KB article. Please refer to [url]http://support.microsoft.com/?id=321792[/url] for details.

    Hope that helps.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Matt Sollars" <matt@hypersite.net>
    !Subject: aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
    !Date: Fri, 1 Aug 2003 17:08:39 -0400
    !Lines: 73
    !Organization: Hypersite
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    !Message-ID: <eTrJnBHWDHA.1644@TK2MSFTNGP10.phx.gbl>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 207.204.29.22
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164256
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !Hi all.
    !
    !I'm having a nasty problem. A client's website was originally written with
    !classic ASP. They requested a new portion of the site that was deemed a
    !perfect candidate for ASP.NET. So, .NET was installed on their web server
    !and one of the subdirectories in the web site was converted to a virtual
    !application to support the new pages that would be added. The rest of the
    !site was left untouched. New aspx files were added to this subdirectory and
    !compiled code was put in it's \bin directory. All worked well in testing,
    !even on their server.
    !
    !Then, one day, a report was made that a user could not access one of the new
    !pages in the new virtual. A server error was being reported to the user. The
    !client's IT dept rebooted the web server to "fix" the problem and all worked
    !well again until the next night. Again, the same problem. Only this time,
    !the server was fine by the time I was told to investigate and no reboot was
    !performed.
    !
    !I looked through the event logs for application errors and have found 3
    !different errors involving .NET.
    ! 1.) aspnet_wp.exe (PID: xxxx) stopped unexpectedly.
    ! 2.) aspnet_wp.exe (PID: 3148) was recycled because it was suspected to
    !be in a deadlocked state. It did not send any responses for pending requests
    !in the last 180 seconds. This timeout may be adjusted using the
    !<processModel responseDeadlockInterval> setting in machine.config.
    ! 3.) The system has called a custom component and that component has
    !failed and generated an exception. This indicates a problem with the custom
    !component. Notify the developer of this component that a failure has
    !occurred and provide them with the information below.
    !Component Prog ID: SC.Pool 9 4
    !Method Name: IDispenserDriver::DestroyResource
    !Process Name: aspnet_wp.exe
    !The serious nature of this error has caused the process to terminate.
    !Exception: C0000005
    !Address: 0x272116E4
    !Call Stack:
    !MSDART!MPInitializeCriticalSection + 0x11C
    !oledb32!CSCDispMan::GetDispenserManager(unsigned short *) + 0x3D
    !COMSVCS!ATL::CComPolyObject<class CStdTrustable>::QueryInterface(struct
    !_GUID const &,void * *) + 0x55
    !
    !When I cross-reference the IIS logs with the timestamps reported in the
    !event logs for these errors, there doesn't appear to be any pattern. In 15
    !instances, only one of them seems to involve one of the new ASPX pages. All
    !other cases are in various directories, involving classic ASP pages. I don't
    !get it. Whenever the 3rd error occurs, it is always followed immediately by
    !the 1st error and whenever the 1st error is reported, no ASP.NET pages can
    !be displayed.
    !
    !I cannot for the life of me get this to happen at will. They happen at
    !varying times of the day. I've even removed the new .NET pages and virtual
    !for the subdirectory, but it still happens.
    !
    !Is there a way to prevent the process from stopping when things go wrong? Is
    !there a setting I'm missing? Why does it seem that these errors are
    !happening with pages that don't even use ASP.NET, yet the aspnet_wp.exe is
    !always the process generating the errors?
    !
    !Please, help.
    !
    !--
    !Matt Sollars
    !matt@hypersite.net
    ! -------------------
    !The Hypersite Network
    !2002 N. Salisbury Blvd.
    !Suite C
    !Salisbury, Maryland 21801
    !T: 410.749.2000
    !F: 410.219.3400
    ![url]http://www.hypersite.net[/url]
    !
    !
    !


    Yan-Hong Huang[MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139