none
MQSC adapter for BizTalk 2013 Send port error RRS feed

  • Question

  • Whenever I try to send a message to MQ I get the following error- Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) 

    This request was working fine until yesterday. It started throwing errors now. Kindly advise

    This is additional error that is popping up in application log-

    The BYOT Gateway could not delegate the activation. The component being created may be incorrectly configured. 
    Server Application ID: {CA8B635A-933F-41F8-81EE-CA088DE1B133}
    Server Application Instance ID:
    {5C14ED87-04F2-4DC4-A193-3B2346157ABA}
    Server Application Name: XLANG Internal Utilities
    Error Code = 0x80040154 : Class not registered

    COM+ Services Internals Information:
    File: d:\w7rtm\com\complus\src\comsvcs\byot\byotex.cpp, Line: 450
    Comsvcs.dll file version: ENU 2001.12.8531.19062 shp


    Friday, August 26, 2016 7:00 PM

Answers

  • Hello,

    If it is multi-server environment you might find this extract interesting.

    Refer: http://biztalkadmin.com/installation-of-the-mqsc-adapter-in-biztalk/

    "If we install the MQSC adapter in a multi server group, the COM+ application Microsoft.BizTalk.Adapter.MQSC will only be installed on the first server in the group. Did you ever experience this?

    The missing com+ application leads to this Class not registered error in the event log on the machine missing the com+ app:

    The BYOT Gateway could not delegate the activation. The component being created may be incorrectly configured.
    Process Name: BTSNTSvc64.exe
    Error Code = 0x80040154 : Class not registered

    Is the MQSC adapter meant to be run on more than one server, and if so, how do we get it installed on all servers. One way would be to do the good old com+ export import."

    Resolution:

    And might I add, if you remove the MQSC adapter from the BizTalk Server Administration Console and then repair the HIS installation on the server missing the Com+ application, then the adapter added to BizTalk (again) AND the Com+ application is created.


    Rachit Sikroria (Microsoft Azure MVP)


    Friday, August 26, 2016 7:15 PM
    Moderator

All replies

  • Hi,

    is this the complete error???what is logged in the event log???


    Mandar Dharmadhikari

    Friday, August 26, 2016 7:06 PM
  • The BYOT Gateway could not delegate the activation. The component being created may be incorrectly configured. 
    Server Application ID: {CA8B635A-933F-41F8-81EE-CA088DE1B133}
    Server Application Instance ID:
    {5C14ED87-04F2-4DC4-A193-3B2346157ABA}
    Server Application Name: XLANG Internal Utilities
    Error Code = 0x80040154 : Class not registered

    COM+ Services Internals Information:
    File: d:\w7rtm\com\complus\src\comsvcs\byot\byotex.cpp, Line: 450
    Comsvcs.dll file version: ENU 2001.12.8531.19062 shp
    Friday, August 26, 2016 7:12 PM
  • Hi Restart the mq port / recycle the host for mq , the event log will have some error entry susequently . Can you post that here please.

    If you dont get anything specific to the MQ server as error, then trying re doing it, refer this post

    http://biztalkadmin.com/installation-of-the-mqsc-adapter-in-biztalk/


    Regards Pushpendra Singh : Please mark the reply as answer or vote it up, as deemed fit.


    Friday, August 26, 2016 7:12 PM
  • Hello,

    If it is multi-server environment you might find this extract interesting.

    Refer: http://biztalkadmin.com/installation-of-the-mqsc-adapter-in-biztalk/

    "If we install the MQSC adapter in a multi server group, the COM+ application Microsoft.BizTalk.Adapter.MQSC will only be installed on the first server in the group. Did you ever experience this?

    The missing com+ application leads to this Class not registered error in the event log on the machine missing the com+ app:

    The BYOT Gateway could not delegate the activation. The component being created may be incorrectly configured.
    Process Name: BTSNTSvc64.exe
    Error Code = 0x80040154 : Class not registered

    Is the MQSC adapter meant to be run on more than one server, and if so, how do we get it installed on all servers. One way would be to do the good old com+ export import."

    Resolution:

    And might I add, if you remove the MQSC adapter from the BizTalk Server Administration Console and then repair the HIS installation on the server missing the Com+ application, then the adapter added to BizTalk (again) AND the Com+ application is created.


    Rachit Sikroria (Microsoft Azure MVP)


    Friday, August 26, 2016 7:15 PM
    Moderator
  • A message sent to adapter "MQSC" on send port "SndReqGetResp" with URI "mqsc://MQT1.CLNTCONN.BIZTLK/tcp/xx.xx.xx.xx(1441)/MQT1/MQT.ETECH.DEITDE07.REQUEST.Q1" is suspended. 
     Error details: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) 
     MessageId:  {9786937F-6EE7-4C4A-9674-454FFE609654}
     InstanceID: {E78A116E-4478-421B-A976-B3B5776C2348}


    Friday, August 26, 2016 7:16 PM
  • Hi,

    I would suggest to refer to below links..see if the help

    http://biztalkadmin.com/installation-of-the-mqsc-adapter-in-biztalk/

    http://synthesisconsulting.net/blog/

    The solution is to either remove the MQSC adapter from BizTalk and repair HIS or you can export the MQSC COM+ application from a server that has it and import it.


    Mandar Dharmadhikari

    Friday, August 26, 2016 7:22 PM
  • A message sent to adapter "MQSC" on send port "SndReqGetResp" with URI "mqsc://MQT1.CLNTCONN.BIZTLK/tcp/xx.xx.xx.xx(1441)/MQT1/MQT.ETECH.DEITDE07.REQUEST.Q1" is suspended. 
     Error details: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) 
     MessageId:  {9786937F-6EE7-4C4A-9674-454FFE609654}
     InstanceID: {E78A116E-4478-421B-A976-B3B5776C2348}


    Refer my post above, You have all the answers there.

    Rachit Sikroria (Microsoft Azure MVP)

    Friday, August 26, 2016 7:29 PM
    Moderator
  • Folks,

    I have single computer installation of MQSC and have referred all the links mentioned above, but to no avail.

    Still I am getting the same set of error.--

    The BYOT Gateway could not delegate the activation. The component being created may be incorrectly configured. 
    Server Application ID: {CA8B635A-933F-41F8-81EE-CA088DE1B133}
    Server Application Instance ID:
    {22DA41BE-A348-4487-9A39-BF00AC6E94AC}
    Server Application Name: XLANG Internal Utilities
    Error Code = 0x80040154 : Class not registered

    COM+ Services Internals Information:
    File: d:\w7rtm\com\complus\src\comsvcs\byot\byotex.cpp, Line: 450
    Comsvcs.dll file version: ENU 2001.12.8531.19062 shp

    and 

    The adapter failed to transmit message going to send port "SndReqGetResp" with URL "mqsc://MQT1.CLNTCONN.BIZTLK/tcp/xx.xx.x.x(1441)/MQT1/MQT.ETECH.DEITDE07.REQUEST.Q1". It will be retransmitted after the retry interval specified for this Send Port. Details:"Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))".

    Tuesday, August 30, 2016 2:27 AM
  • Rahul,

    Check if the MQSC Com+ Object is registered (Administrative Tools => Component Services => My Computer => COM+ Applications => Microsoft.BizTalk.Adapter.MQSC

    If it’s missing you can try the following to register the COM+ Objects again :

    1) Go to the “Programs and Features”
    2) Modify the Host Integration Server Installation by using the repair feature

    If it’s still missing, please try the following commands :
    %windir%\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe /u “%snaroot%\Microsoft.BizTalk.Adapter.MQSC.dll” %windir%\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe “%snaroot%\Microsoft.BizTalk.Adapter.MQSC.dll”

    If this is a 64-bit box, and they are installing the 64-bit MQSC adapter, then the commands would be slightly different (“Framework64” instead of “Framework”), so they would be:

    %windir%\Microsoft.NET\Framework64\v2.0.50727\RegSvcs.exe /u “%snaroot%\Microsoft.BizTalk.Adapter.MQSC.dll”

    %windir%\Microsoft.NET\Framework64\v2.0.50727\RegSvcs.exe “%snaroot%\Microsoft.BizTalk.Adapter.MQSC.dll”


    Rachit Sikroria (Microsoft Azure MVP)

    Tuesday, August 30, 2016 2:50 AM
    Moderator
  • Rachit, 

    Microsoft.BizTalk.Adapter.MQSC is there in COM + Applications. I'll try re-installing web sphere and MQSC adapter again to see if it works.

    Tuesday, August 30, 2016 3:42 AM
  • After all this re-installation , I am getting the following error-

    The adapter failed to transmit message going to send port "SndReqGetResp" with URL "mqsc://MQT1.CLNTCONN.BIZTLK/tcp/xx.xxx.xx.xx(1441)/MQT1/MQT.ETECH.DEITDE07.REQUEST.Q1". It will be retransmitted after the retry interval specified for this Send Port. Details:"Could not load file or assembly 'Microsoft.BizTalk.Adapter.Mqsc.ImqWrapperTxn.dll' or one of its dependencies. The specified module could not be found. A dependency could not be found. Refer to product documentation for information on MQSC Adapter software prerequisites.".

    Please advise.

    Wednesday, August 31, 2016 3:28 AM
  • Hi, There is a similar thread here suggesting v1.0.2 of MQ worked https://social.msdn.microsoft.com/Forums/en-US/f910326a-c826-4c52-93ac-101999335300/using-the-mqsc-adapter?forum=biztalkr2adapters

    Regards Pushpendra Singh : Please mark the reply as answer or vote it up, as deemed fit.

    Wednesday, August 31, 2016 3:37 AM
  • Thanks Rachit, Re-installation, unfortunately several times worked. 
    Wednesday, August 31, 2016 9:52 PM