BizTalk Server Troubleshooting and SupportSearch MSDN Online, the Microsoft Knowledge Base, and MSDN Blogs to locate resources to assist you with troubleshooting. Advanced KB Search | Events & Errors Message Center EDI Leap Year hotfix: BizTalk 2009 and BizTalk 2006 R2If using EDI in BizTalk 2009 and BizTalk 2006 R2, install the EDI leap year hotfix before 2/29/12: 2435900 FIX: "Invalid Date" EDI interchange error occurs in BizTalk Server 2006 R2 or in BizTalk Server 2009 if a data element contains a leap date value BizTalk Server 2009 There are two ways to get this fix: Option 1: Install any BizTalk 2009 Cumulative Update. KB 2555976 lists the available cumulative updates. Option 2: Install the stand-alone fix by clicking View and request hotfix downloads at the top of KB article 2435900. This fix applies to 32-bit (x86) and 64-bit (x64) computers. BizTalk Server 2006 R2 Each step is required:
Note BizTalk Server 2010 is not impacted by this bug. Cumulative UpdateFor a list of a BizTalk Server and BizTalk Adapter Pack Service packs and cumulative updates, refer to KB article 2555976: As of December 2010, BizTalk Server has moved towards the Cumulative Update model for BizTalk Server 2009 and BizTalk Adapter Pack 2.0. Newly Released Hotfixes and UpdatesGet information about BizTalk Server newly released hotfixes and updates. BizTalk Check ListsCommon Call Generators
Symptom: bm.exe deploy-all -DefinitionFile:"C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.1\Bam\Microsoft.BizTalk.ESB.BAM.Exceptions.xml" When this occurs, an error similar to the following may return: Microsoft (R) Business Activity Monitoring Utility Version 3.9.469.0 Using 'BAMPrimaryImport' BAM Primary Import database on server 'SQLServer'... Deploying Activity... Done.
Resolution
The accounts running the SQL Server services need Read access to the BAMStarSchema database:
A New Query with the syntax below can also be used: USE BAMStarSchema Online Resources Microsoft BizTalk Server 2010 ESB Toolkit Symptom: Event Type: Warning
Resolution
Confirm the following:
Symptom: An output message of the component "Unknown " in receive pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2EdiReceive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" is suspended due to the following error:
Resolution
The issue can occur if the IIS application pool used by the receive location is not using .Net 4.0. The application pool must be using .Net 4.0 to access the BizTalk AS2/EDI artifacts. Symptom: A failure occurred when executing a Windows service request. Additional error information:
Resolution
The <configSections> element must be the first element in the configuration file. To resolve this error, move the <configsections> element to the top of the configuration file. Symptom: No mapping between account names and security IDs was done.
Resolution
When entering the group names, enter MachineName\GroupName. For example, enter MachineName\BizTalk Application Users and MachineName\BizTalk Isolated Host Users. Symptom:
Resolution
Reinstall the Cumulative Update. Symptom: Description: Description:
Resolution
When using the SMPTP adapter for the first time, additional configuration is needed:
Symptom: If you send messages to J. D. Edwards by using the J. D. Edwards adapter, you achieve good performance if you keep sending messages. If you stop sending messages for couple minutes, however, the next message will take a long time to be sent to J. D. Edwards.
Resolution
The delay is caused by the startup of RuntimeAgent.exe. By default, RuntimeAgent.exe will automatically shut down if it is idle for one minute. If you have applications with a low latency requirement, you can adjust the registry value AgentOutboundTimeout to avoid or reduce the automatic shutdowns and restarts of RuntimeAgent.exe.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
The AgentOutboundTimeout value is used to recycle the RunTimeAgent processes after a certain time of inactivity. The value should be set so it is more than the time it takes for the operation to complete on the Oracle server. The default value is 60000 milliseconds (1 minute). For more information, see http://support.microsoft.com/kb/2291479. Symptom: Using the SOAP adapter, you may receive an error of “There is an error in XML document (1, 2608)” like this: A response message sent to adapter "SOAP" on receive port "WebPort_MyBusiness/MyBusiness_Request" with URI "/MyBusiness/MyBusiness_Request.asmx" is suspended.
Resolution
This error happens because of the failure in deserializing the response message. Check the bts_DocumentSpec table of BizTalkMgmtDB to make sure there are no duplicate document specifications related to the response message type.
Symptom: When installing a BizTalk Server 2010 cumulative update, the DTA Purge and Archive SQL Agent job settings might be reset to the default values.
Resolution
To work around this, open SQL Server Management Studio, expand SQL Server Agent and modify the DTA Purge and Archive SQL Agent job steps to the previous values. How to Configure the DTA Purge and Archive Job provides the specific steps. Symptom: When installing a BizTalk Server 2009 cumulative update, Execute permissions on the dtasp_MsgIn, dtasp_MsgOut and dtasp_ServiceInsert stored procedures in the BizTalkDTADb database might be removed.
Resolution
To resolve this, open SQL Server Management Studio, and do the following:
Follow these steps for the dtasp_MsgOut and dtasp_ServiceInsert stored procedures. Symptom: You have a BizTalk receive location. The message received from this receive location is sent to a backend system like SAP. You want to use Single Sign On (SSO) for this message flow. Some adapters, such as WCF-Basic and SOAP, have built-in functionality to issue the SSO ticket. For other adapters you can create a custom pipeline component to be used in the receive pipeline to issue the SSO ticket. The ticket is redeemed during the SAP send port processing. Assume that the receive location is running in a host with a service account Domain\Account1. When you log on as Domain\Account1 and send a message to the receive location, it will be successful. But if you are not logged on as Domain\Account1, it will fail with this message: Validation of the ticket failed. The sender name must match that of the ticket issuer. The problem is caused by the mismatch of the sender and the issuer. In this example, the sender is Domain\Account2; but the issuer is Domain\Account1. The sender is usually the account that sends the message to the receive location. The issuer is the service account of the BizTalk host instance, inside which the receive location is running.
Resolution
There are two ways to remove this error condition:
Symptom: BizTalk Server installation fails with an error message that says “5008 Registration of BizTalk WMI provider failed. Return code 1”. The problem usually happens when you are installing BizTalk Server on a computer that previously had BizTalk Server installed and subsequently uninstalled.
Resolution
Copy BTSWMISchema.mof, BTSWMISchema.mof, and BTSWMISchemaXP.mof from a good installation computer to the local C:\Program Files\Microsoft BizTalk Server 2006\Bins32\ folder, and then start the BizTalk Server installation. Symptom: In BizTalk Server 2010, you might receive the following exception when enlisting an orchestration. This happens when your orchestration defines a correlation set type with data types from a different assembly other than the orchestartion assembly. For instance, the following error happens when a correlation set is defined with MyScehma.Schemas.ID type from a MySchema.Schemas.dll assembly. Exception type: BTXEnlistmentException
Resolution
You can work around the problem by combining the data type (schema) project and the orchestration project into one single project. Symptom: BizTalk Server is installed in \Program Files instead of \Program Files (x86). A Windows Installer package is imported and the following error is logged: Event ID: 11721
Resolution
To resolve this, create a folder named C:\Program Files (x86)\Microsoft BizTalk Server 2010. Copy CustomAction.exe and CustomAction.exe.config from the BizTalk installation folder to this folder. Installation of the Windows Installer package (MSI) should now succeed. This is a known MSI limitation. On 64-bit machines, 32-bit MSIs append (x86) to the “\Program Files”’ path before using it. BizTalk application MSIs are always 32-bit. Starting with BizTalk Server 2010, the MSI executes CustomAction.exe in the BizTalk installation folder. In previous BizTalk versions, the custom actions were embedded within the application MSI as a dynamic-link library (DLL). This limitation was also there earlier, but it was not seen in this scenario.
Symptom: When installing Enterprise Single Sign-On in BizTalk Server 2010 on a Windows 7 64-bit computer, the following error might occur: Error 1928.Error registering COM+ application. Please ensure that DTC is enabled. Contact your support personnel for more information.
Resolution
This can happen if Windows Easy Transfer was used. To resolve this, use the Easy Transfer tool on a working Windows 7 64-bit computer. For migration, select SharedItems, and then select Windows Settings. Import this into the failing computer. You might also be able to download a .mig file that contains just these items. For more information, see Symptom: After installing a cumulative update package, you might encounter a crash when you open the BizTalk Server Administration console. Also, the follow error is logged in the event log: “EventType clr20r3, P1 mmc.exe, P2 5.2.3790.3959, P3 45d6a11d, P4 microsoft.biztalk.administration.ediext, P5 3.0.1.0, P6 4d7e5b5f, P7 225, P8 0, P9 system.nullreferenceexception, P10 NIL”.
Resolution
This problem usually happens when the BizTalk Server Administration console is installed on a separate computer, and it is at a different cumulative update package level than the computers running BizTalk Server. To fix the problem, make sure the computer with the BizTalk Server Administration console has the same cumulative update package installed as any other computer running BizTalk Server in the group does.
Symptom: You experience the issue in http://support.microsoft.com/kb/2191569. You understand that the fix is included in BizTalk Server 2009 Cumulative Update (CU) 2 from http://support.microsoft.com/kb/2497794. After installing the CU2, you find the issue is still unresolved.
Resolution
The fix involves some schema changes. The schema change is not automatically applied by the CU2 installation. After installation, you can unzip MicrosoftEdiXSDTemplatesKb2191569.exe to obtain the changed schemas. MicrosoftEdiXSDTemplatesKb2191569.exe is part of the CU2 package.
Symptom: The BAM tracking tables in Messagebox are increasing in size very fast. Data is being moved from BAM tracking tables in MessageBox to BAMPrimaryImport, but at a very slow pace. The TDDS_FailedTrackingData table is also growing at a slow pace with errors like "TDDS failed to execute event. Parameter is not valid." You check the Windows event log, and find no errors or warnings.
Resolution
The issue can happen when you use BufferedEventStream (vs DirectEventStream), and there is some problem in the event data. BufferedEventStream uses an asynchronous pattern, so there are no immediate errors/warnings to indicate any problem in the event data. A common problem in the event data is invalid activity. You can monitor these two performance counters: “Total Failed Batches” and “Total Failed Events.” If they are large and increasing, you may want to double-check any possible problem in the event data, for example, whether the activity name is valid. For debugging purposes, you can temporarily replace BufferedEventStream with DirectEventStream. DirectEventStream is synchronous, and will show the errors immediately.
Symptom:In the BizTalk group, there are two BizTalk computers. On BizTalk1, there is an isolated host. On BizTalk2, a client application submits messages to the isolated host on BizTalk1. This returns the following error: “The Messaging Engine failed to register the adapter for "Submit" for the receive location "Test Receive Location". Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases.” This error occurs even when the account is a member of the BizTalk Isolated Host Users group.
Resolution
Create the isolated host instance on the BizTalk computer that hosts the client application.
Symptom:There is a BizTalk application that used Pipeline1 and now uses Pipeline2. The BizTalk application is deployed. You modify the application in Visual Studio and redeploy from Visual Studio. When you redeploy, Pipeline1 is used instead of Pipeline2.
Resolution
This occurs when a binding file from a previous deployment is applied. To resolve this, delete the residue binding file and then redeploy. Binding file locations:
C:\Documents and Settings\{user}\Application data\Microsoft\BizTalk Server\Deployment\BindingFiles C:\Users\{user}\AppData\Local\BizTalk\Deployment\BindingFiles
Potential ScenariosScenario 1: Once you have implemented the BizTalk Enterprise Service Bus (ESB) Toolkit, you can use the Management Portal to perform some very useful operations, like managing exceptions, registering UDDI, auditing, viewing history information, and configuring alerts and notifications. The Management Portal is hosted in IIS on BizTalk Server, and usually you want to be able to view it from remote computers.
For detailed instructions, see How to configure an ASP.NET application for a delegation scenario. Scenario 2: Visual Studio 2008 fails to open/create a BizTalk Server 2009 project. This is caused when Visual Studio 2008 is repaired or when a Visual Studio 2008 update is installed; the registry entry is inadvertently changed from csproj;btproj to csproj. You can resolve this as follows:
For more information, see Visual Studio 2008 fails to create new BizTalk projects from the BizTalk Customer Response Team blog. Scenario 3: You process a load of messages and notice that the message process time slows down. This could be caused by the Message count in database setting. By default, it is set to 50,000 messages; it can be increased to allow for a burst of messages. A good starting number is 75,000, if you suspect this to be a problem. Scenario 4: A System.OutOfMemory exception can occur with a Host instance. There could be many reasons for this, but increasing the Process memory usage setting can help. On a 32-bit server, setting this to 50 is a good value. On a 64-bit server, it can be set to 100. For troubleshooting and potential design issues, see KB article 918643: How to troubleshoot a memory leak or an out-of-memory exception in the BizTalk Server process. Scenario 5: “The Signing Certificate has not been configured" error occurs using BizTalk EDI. For information, see KB article 971193: "The Signing Certificate has not been configured" error using certificates with EDI/AS2. Also, confirm that the BizTalk Group name in BizTalk Administration is "BizTalk Group."
KB Articles
Ask an Expert OnlineSearch and Post a New Question to the MSDN Forums Get Help from Microsoft
Additional Support Options | Related ResourcesRelated Downloads |