none
Cluster Environment BizTalk Web service Issues

    Question

  • Hi ,I have implemented one BizTalk application with Wbeservice(Schema Exposed) and it is working fine in Test environment and once I wmoved to Cluster Environment(Production-HostCluster) it is not working and getting below Error Please see below Error .

    Error: receive Location for".SVC" not found (May be BT Receive Location Disabled).

    

    

    

    Thursday, October 20, 2016 4:17 PM

All replies

  • Hello Venkat,

    When you are publishing a webservice in biztalk by using wizard you are providing adapter type also (i.e: WCF-BasicHttp, WCF-WSHttp, etc).

    So when creating receive location in biztalk admin console you should use same adapter which you select while publishing WCF service otherwise its giving the above problem.

    Refer: https://premintegrationblog.wordpress.com/2015/06/10/errors-while-publishing-wcf-service-in-biztalk-server/



    Rachit Sikroria (Microsoft Azure MVP)

    Thursday, October 20, 2016 4:36 PM
    Moderator
  • Hi Venkat

    Did you import the binding file from Test environment to Production? That way your WCF ReceiveLocation(s) will get created correctly. Also make sure that the ReceiveLocation is actually in Enabled state.


    Thanks Arindam

    Thursday, October 20, 2016 5:09 PM
    Moderator
  • Thanks for the reply and we are using the same adapter even though same error.

    Friday, October 21, 2016 1:37 AM
  • we did and noluck
    Friday, October 21, 2016 1:38 AM
  • So, that is not a BizTalk error message.

    If you are getting an error, we really need the entire error stack.  There are important details we can use to help you.

    Friday, October 21, 2016 2:25 AM
    Moderator
  • Stack Trace:


    [AdapterException: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.)]
       Microsoft.BizTalk.Adapter.Wcf.Runtime.ReceiveLocationManager`2.GetEndpointContext(Uri uri) +325
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +411
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1435
       System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +76
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901
    
    [ServiceActivationException: The service '/TigerEmpPinSetReset/EmpPinSetReset.svc' cannot be activated due to an exception during compilation.  The exception message is: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.).]
       System.Runtime.AsyncResult.End(IAsyncResult result) +622882
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +196075
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166

    Friday, October 21, 2016 2:51 AM
  • Hello Venkat,

    1. In the BizTalk Administration console, make sure that the receive location specified by the receiveLocationName attribute in the Web.config file that the BizTalk WCF Publishing Wizard generated exists and is started.

    2. Mixing different types of isolated adapters in the same App Pool is not supported. You should create dedicated App Pools for each type of isolated adapter. An isolated host instance can run only one adapter. If you configure the receive handlers of multiple isolated adapters such as HTTP, SOAP, and WCF adapters with one isolated host, you must create multiple application pools, one application pool for each adapter, else you will get this error.

    Refer: Adding a new BizTalk Server Isolated Host needs a new Application Pool

    3. Enable the BizTalk receive location for the particular WCF service in BizTalk Admin console

    4. Check the Address that you browsing from IIS and the URL entered in Receive location is same.

    5. Check the receive location properties, whether it has any schedule for enabling the Receive location, disable it.


    Rachit Sikroria (Microsoft Azure MVP)

    Friday, October 21, 2016 3:16 AM
    Moderator
  • will try to let you know
    Friday, October 21, 2016 3:46 AM
  • If the BizTalk Hosts are clustered and you wish to expose web services on such an environment then you should cluster IIS (refer https://support.microsoft.com/en-us/kb/970759)

    You will have to cluster IIS as Cluster and NLB are not supported on the same set of servers.

    After clustering IIS, ensure that this is part of the same resource group as your receive host instance. When you cluster IIS, IIS will run off a virtual disk and when you publish schemas as a service, you should publish them on a shared disk (virtual directory) so as to be available across both the cluster nodes.

    The reason for this error is because the receive location is getting enabled on the node where the service has not been published.

    Regards.

    Friday, October 21, 2016 4:23 AM
  • Still I am getting same error

    see below Event Error:

    WebHost failed to process a request.

    Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/38678664

    Exception: System.ServiceModel.ServiceActivationException: The service '/TigerEmpPinSetReset/EmpPinSetReset.svc' cannot be activated due to an exception during compilation.  The exception message is: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.). ---> Microsoft.BizTalk.Adapter.Wcf.AdapterException: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.ReceiveLocationManager`2.GetEndpointContext(Uri uri)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

       --- End of inner exception stack trace ---

       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

       at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)

    Process Name: w3wp

    Process ID: 7804

    Friday, October 21, 2016 9:25 AM
  • Stack Trace:


    [AdapterException: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.)]
       Microsoft.BizTalk.Adapter.Wcf.Runtime.ReceiveLocationManager`2.GetEndpointContext(Uri uri) +325
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +411
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1435
       System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +76
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901
    
    [ServiceActivationException: The service '/TigerEmpPinSetReset/EmpPinSetReset.svc' cannot be activated due to an exception during compilation.  The exception message is: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.).]
       System.Runtime.AsyncResult.End(IAsyncResult result) +622882
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +196075
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166

    Friday, October 21, 2016 9:44 AM
  • Can you check if https://support.microsoft.com/en-us/kb/2801728 applies to you.

    Regards.

    Friday, October 21, 2016 10:59 AM
  • Thanks for this and no luck..
    Monday, October 24, 2016 3:54 AM

  • [AdapterException: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.)]
       Microsoft.BizTalk.Adapter.Wcf.Runtime.ReceiveLocationManager`2.GetEndpointContext(Uri uri) +325
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +411
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1435
       System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +76
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901
    
    [ServiceActivationException: The service '/TigerEmpPinSetReset/EmpPinSetReset.svc' cannot be activated due to an exception during compilation.  The exception message is: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.).]
       System.Runtime.AsyncResult.End(IAsyncResult result) +622882
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +196075
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166

    Monday, October 24, 2016 3:55 AM
  • Event Viewer:

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 10/24/2016 11:31:34 AM

    Event time (UTC): 10/24/2016 3:31:34 AM

    Event ID: 97b5baa39c124f60ad61f99c4678cab1

    Event sequence: 13

    Event occurrence: 3

    Event detail code: 0

    Application information:

        Application domain: /LM/W3SVC/3/ROOT/TigerEmpPinSetReset-1-131217531272505847

        Trust level: Full

        Application Virtual Path: /TigerEmpPinSetReset

        Application Path: C:\inetpub\TigerEmployee\TigerEmpPinSetReset\

        Machine name: TGBIZAPSD001V

    Process information:

        Process ID: 1604

        Process name: w3wp.exe

        Account name: TIGERRESORT\biztalk.install

    Exception information:

        Exception type: AdapterException

        Exception message: Receive location for address "/TigerEmpPinSetReset/EmpPinSetReset.svc" not found. (The BizTalk receive location may be disabled.)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.ReceiveLocationManager`2.GetEndpointContext(Uri uri)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

     

    Request information:

        Request URL: http://172.16.100.193:83/TigerEmpPinSetReset/EmpPinSetReset.svc

        Request path: /TigerEmpPinSetReset/EmpPinSetReset.svc

        User host address: 172.16.100.193

        User: 

        Is authenticated: False

        Authentication Type: 

        Thread account name: TIGERRESORT\biztalk.install

    Thread information:

        Thread ID: 27

        Thread account name: TIGERRESORT\biztalk.install

        Is impersonating: False

        Stack trace:    at Microsoft.BizTalk.Adapter.Wcf.Runtime.ReceiveLocationManager`2.GetEndpointContext(Uri uri)

       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)

       at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

    Custom event details:

    Monday, October 24, 2016 3:56 AM
  • Issue Resolved after republishing different way ..

    Thanks

    Venkat

    Monday, October 24, 2016 2:36 PM
  • Issue Resolved after republishing different way ..

    Thanks

    Venkat

    Please explain what steps did you perform to fix this? 

    Rachit Sikroria (Microsoft Azure MVP)

    Wednesday, October 26, 2016 8:03 PM
    Moderator