aspnet_wp.exe is crashing.

Last post 07-31-2007 12:49 PM by Sathesh_pandian. 6 replies.

Sort Posts:

  • aspnet_wp.exe is crashing.

    12-07-2006, 4:18 PM
    • Member
      10 point Member
    • rikidude
    • Member since 12-07-2006, 9:17 PM
    • Canada
    • Posts 3

    Hi,

    I'am developping à windows forms application in VS 2005 using a web service asp.net in VB and something and sometime, not at the same place, aspnet_wp.exe is crashing.

    The client call a function on the server ( in the web service ) and when the process is terminated, the web service return an answer (true or false). The process take above 15 minutes to execute. Sometime it work, sometime it not work. I call the web service in ASynch mode, using handler when the process is terminated.

    Here is the error (client side):

    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
       at System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
       at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse()
       at System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)

    Here is my error in the application event log on the server (I have use the UnhandledExceptionModule.dll module to have more details but I dont found what is the error...:

    Event Type: Error
    Event Source: ASP.NET 2.0.50727.0
    Event Category: None
    Event ID: 0
    Date:  2006-12-07
    Time:  16:42:03
    User:  N/A
    Computer: MINGEOPRUEBA
    Description:
    The description for Event ID ( 0 ) in Source ( ASP.NET 2.0.50727.0 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:

    UnhandledException logged by UnhandledExceptionModule.dll:

    appId=/LM/W3SVC/1/Root/Mingeo_Predial

    type=System.CannotUnloadAppDomainException

    message=Error while unloading appdomain. (Exception from HRESULT: 0x80131015)

    stack=
       at System.AppDomain.Unload(AppDomain domain)
       at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(Object state)
       at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

    .

    EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.1830, P3 42435be1, P4 system.web, P5 2.0.0.0, P6 45063b0f, P7 5d7, P8 47, P9 system.cannotunloadappdomain, P10 NIL.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    I dont know what is AppDomain but I dont use any of this appelation in my code. I realy need help!

     

    Thank you very much.

  • Re: aspnet_wp.exe is crashing.

    12-07-2006, 11:45 PM
    • Contributor
      6,572 point Contributor
    • satish_nagdev
    • Member since 09-21-2006, 10:25 AM
    • Mother Earth
    • Posts 1,432

    hi riki,

    generally this problem is related to problem in webservice. for example in my case i got it because vendor didnt informed us about update of service so after we updated webreference in our project problem disappeared.

    in some cases say if your webservice or the one you are using is written to use RPC binding then it doesnt work in .net to my knowledge as .NET supports document binding.

    also check if you are passing credentials etc if required.

    thanks,

    satish.

    Kind Attn: If a reply to your post helped you, kindly mark it as Answered.
    __________________________________________________
    Please save Animals Help World Society For Protection Of Animals,
    Protect these speechless creatures of GOD
  • Re: aspnet_wp.exe is crashing.

    12-08-2006, 8:37 AM
    • Member
      10 point Member
    • rikidude
    • Member since 12-07-2006, 9:17 PM
    • Canada
    • Posts 3

    Hi,

    Thank for reply faster.

     My webreference is up to date
     I don't use RPC binding and I am not passing credentials :(

    I've tinking that i was using an obsolete librairie ( ICSharpCode.SharpZipLib.dll ) to zip/unzip file. I think that now it's working on our server (just in making few tests), but on the client server, I always have the same error...

  • Re: aspnet_wp.exe is crashing.

    06-23-2007, 3:05 AM
    • Contributor
      3,424 point Contributor
    • erdsah88
    • Member since 12-12-2004, 11:18 AM
    • ISTANBUL
    • Posts 896

    I have the same problem.....but we need a better stack trace.......

    Satılık,Kiralık emlak ilanlari
  • Re: aspnet_wp.exe is crashing.

    06-23-2007, 9:56 AM
    • Member
      10 point Member
    • rikidude
    • Member since 12-07-2006, 9:17 PM
    • Canada
    • Posts 3

    Just be sure that you have an ApplicationPool if you run both version of asp.net (1 and 2) and set you web service in the application pool that run ASp.NET2

  • Re: aspnet_wp.exe is crashing.

    06-27-2007, 6:19 AM
    • Contributor
      3,557 point Contributor
    • ravipahuja1
    • Member since 06-27-2007, 6:58 AM
    • Delhi NCR
    • Posts 629

    Try to get StackTrace

  • Re: aspnet_wp.exe is crashing.

    07-31-2007, 12:49 PM
    • Contributor
      2,598 point Contributor
    • Sathesh_pandian
    • Member since 07-23-2007, 11:55 AM
    • Chennai
    • Posts 441

    try to change your functions with fine tuning otherwise the application will reach the timeout period and it will get crashed.

    Got what you needed. Please mark as answer.
Page 1 of 1 (7 items)