none
BAM : failed to apply tracking profile

    Dotaz

  • Hi all,

    When trying to apply a tracking profile, I get the following error : 

    Failed to apply the tracking profile.

    Error Applying tracking profile for messaging.

    Error notifying service.

    The transaction has already been implicitly or explicitly comitted or aborded (Exception from HRESULT: 0x8004D00E)

    This is a standalone BizTalk Server 2009 Installation.

    Has anyone already experienced this issue ?

    Thanks


    Christophe BRANDO http://christophe.brando.free.fr

    23. února 2012 15:03

Odpovědi

Všechny reakce

  • You receive an error message when you try to apply a tracking profile to an x64-based computer in the Tracking Profile Editor

    Problem

    When you apply a tracking profile to a BizTalk server running on an x64-based computer you receive the error "Failed to apply the tracking profile" along with one or more of the following exception details:

    • System.Runtime.InteropServices.COMException: The transaction has already been implicitly or explicitly committed or aborted
    • Communication with the underlying transaction manager has failed. (System Transactions)
    • Unhandled Exception: System.InvalidOperationException: The Promote method returned an invalid value for the distributed transaction.

    Cause

    This issue can occur if one or more of the following conditions are true:

    • The Microsoft Distributed Transaction Coordinator (MSDTC) service cannot be initialized. This occurs if a lightweight remote procedure call (LRPC) association contains an incorrect Service Principal Name (SPN) in its authentication information structure because of the Winspool.drv file.
    • The Tracking Profile Editor tries to use RPC to connect to the MSDTC transaction coordinator. When this occurs, the interface may perform additional security checks.

    Resolution

    When the Tracking Profile Editor tries to connect to the MSDTC on the local computer, the interface that is used may perform additional security checks. Depending on the operating system version and service packs that are installed on the computer, RPC may perform these additional security checks when the interface does not have a registered security callback.

    There are two potential resolutions:

    • Use the Group Policy Object Editor to disable the RestrictRemoteClientssetting that the RPC configuration enforces.
    • Use the Registry Editor to disable the RestrictRemoteClientssetting that the RPC configuration enforces.

    For important security information and more information about how to perform these tasks, see KB article 919216.

    For more details see Troubleshooting BAM

     


    Please mark the post answered your question as answer, and mark other helpful posts as helpful, it'll help other users who are visiting your thread for the similar problem, Regards -Rohit Sharma (http://rohitbiztalk.blogspot.com)

    23. února 2012 15:10
    Moderátor
  • Hi Just to add on Rohit's note, The following might also be intresting for you while resolving/understanding this issue.

    TroubleShooting MSDTC and BAM- MSDN 

    Troubleshooting BAM Errors- MSDN (More relevant for Error Cause)

    HTH

    Naushad

    23. února 2012 15:33
    Moderátor
  • That doesn't work for me !

    Any ideas ?


    Christophe BRANDO http://christophe.brando.free.fr

    23. února 2012 15:49
  • Hi,

    Failed to apply the tracking profile is hard to resolve issue without additional information. In most cases, this error does include one or more additional error messages that you can use to identify the issue. In your case:

    Error Applying tracking profile for messaging.

    Error notifying service.

    The transaction has already been implicitly or explicitly comitted or aborded (Exception from HRESULT: 0x8004D00E)

    I would verify the connection using the SQL Server client utilities, look at this post on TPE errors.

    HTH

    Steef-Jan Wiggers

    MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan

    If this answers your question please mark it accordingly


    BizTalk

    23. února 2012 16:04
    Moderátor
  • My environment is Windows 2008 Server Standard Edition x64, BizTalk Server 2009 Developer Edition x64 CU2, SQL Server 2008 SP1

    Christophe BRANDO http://christophe.brando.free.fr

    23. února 2012 16:06
  • hi

    From the error it seems like transaction commit/performing issue with SQL Server while deploying your TPE.

    Since it is on a standalone installation , so everything related with permission or DTC securities should be OK.

    However Please have a look of this Blog post, Might help you!

    HTH

    Naushad

    23. února 2012 16:07
    Moderátor
  • More details...

    Basically I implements a BAM solution to give a dashboard of all processes running in BizTalk.

    So, when I put all receive and send ports via the TPE tools, I get the error I previously wrote, BUT when I put just a few (one dozen) receive and send ports, the bttdeploy works !

    My BizTalk has about 500 send ports and 250 receive locations.

    Is there any limit for receive/send ports set with TPE tools.


    Christophe BRANDO http://christophe.brando.free.fr

    23. února 2012 16:26
  • Hi

    Could you check this Blog by Sando, Might give some idea! Also there is a similar thread in MSDN here

    HTH

    Naushad


    23. února 2012 16:29
    Moderátor
  • Hi,

    I am not aware of limitations, however it may be possible you are running into the boundaries of what TPE can handle. There is an alternative described in this post.

    HTH

    Steef-Jan Wiggers

    MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan

    If this answers your question please mark it accordingly


    BizTalk

    23. února 2012 17:18
    Moderátor