none
System.ServiceModel.ServiceActivationException RRS feed

  • Question

  • Hi

    Recently on our production server, we are frequently getting this exception and the WCF service stops by itself. Following is the exception in event viewer. I have read that its a known issue in .Net 4.5.1. Is it true ? Do you have a fix for it ?

    WebHost failed to process a
    request.
    Sender Information:
    System.ServiceModel.ServiceHostingEnvironment+HostingManager/66323094
    Exception:
    System.ServiceModel.ServiceActivationException: Request to the service at
    '~/ABCService.svc' cannot be dispatched because the virtual application at '/'
    is shutting down. ---> System.InvalidOperationException: Request to the
    service at '~/ABCService.svc' cannot be dispatched because the virtual
    application at '/' is shutting down.
       --- End of inner exception stack trace
    ---
       at
    System.ServiceModel.ServiceHostingEnvironment.HostingManager.FailActivationIfRecyling(String
    normalizedVirtualPath)
       at
    System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String
    normalizedVirtualPath, EventTraceActivity
    eventTraceActivity)
       at
    System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String
    relativeVirtualPath, EventTraceActivity
    eventTraceActivity)
    Process Name: w3wp
    Process ID: 7868
    Wednesday, October 8, 2014 5:12 PM

Answers