Biztalk Server FAQs

Source: Internet
Author: User
Biztalk Server TroubleshootingAuthor: Zheng Zuo time: Some developers will encounter many basic problems when developing the BizTalk project. This article lists these common problems, in some cases, the author sought solutions from Microsoft's BizTalk engineers to help BizTalk technicians develop faster. The content in this article is based on BizTalk Server 2006 and Visual Studio 2005. 1. Data streams are not supported on multi-column results.Error message: the adapter "SQL" returns an error message. The detailed information is "hresult =" 0x80004005 "Description =" data streams are not supported on multi-column results "". Solution: Add "for XML auto --,/* elements, */-- xmldata" to the SQL query statement or stored procedure ". 2. Root element missingError message: "Microsoft. biztalk. defaultpipelines. xmltransmit, Microsoft. biztalk. defaultpipelines, version = 3.0.1.0, culture = neutral, publickeytoken = 31bf3856ad364e35 ", source:" XML assembler ", sending port:" sendport_datatoxxx ", Uri:" C: /messages/test/create/% messageid %. XML ", cause: the root element is missing. Solution: the most likely cause of this problem is that an error occurs when an XML file is generated and the format is incorrect. This problem occurs when you use the schema ing file (. BTM) for XML transformation during BizTalk. The solution is to check whether the target namespace set in the source schema file (. XSD) and target schema file is correct. Right-click the BTM file in Solution Explorer of vs.net and choose Properties From the shortcut menu to set the input and output, right-click the menu and choose test ing or verify ing to check whether the ing is correct. 3. You cannot refresh the server running instance when you redeploy the BizTalk application.Description: After the BizTalk Server application project is modified, it is redeployed to the BizTalk Server through vs. net2005. As a result, the BizTalk application cannot refresh the server to run the instance or run the previous version of the program. Solution: A. before re-deploying the modified application, you must stop the application instance on the BizTalk Server. B. Deploy the program through vs.net. C. Right-click the application node under the Group node in the Manager of BizTalk Server 2006 and choose refresh. D. Open the System Service Manager, find "BizTalk Server application service", and restart it. E. Start the deployed application in the BizTalk Server 2006 Manager. 4. Unable to automatically refresh Assembly reference in vs.net 2005Description: In vs.net 2005, modifications to the referenced assembly cannot be automatically refreshed in the referenced project. Solution: http://support.microsoft.com/default.aspx? SCID = KB; en-US; 313512 5. Error verifying schema file (. XSD) bec2004Error message: (the error message output by vs2005 cannot be read.) C:/test directory/entrydatasingle. XML: Error bec2004: "[XML root directory]" in the element namespace "http: // namespace-URL". "Entry_container" in the sub-element namespace "http: // namespace-URL ". Invalid. It should be a list of possible elements: "A child element ". Solution: Open the architecture file in vs.net, select <schema>, and in the Properties window. Set the value of element formdefault to qualified and the value of attribute formdefault to unqualified. For details, visit http://blog.csdn.net/zhzuo/archive/2006/08/02/1011031.aspx. 6. When you deploy an application project through vs.net, the system prompts "cannot add resources"Error message: the resource cannot be added. A resource already exists in the bucket (-type = "system. biztalk: biztalkassembly "-luid =" biztalktestproject1, version = 1.0.0.0, culture = neutral, publickeytoken = 3a57bb41dbe2b5dc "), and the resource is associated with another application or another type. Solution: Open the BizTalk browser in vs.net, find the assembly corresponding to the application you deployed before, right-click to cancel the deployment, and perform the deployment operation again through vs.net. 7. Only non-serialized object types can be declared in the atomic scope or service.Error message: only the non-serialized object type "system." can be declared in the atomic scope or service. XML. xmlnodelist xmlentrydatanodelist "E:/vs2005projects/biztalk2006projects/biztalktestsolution/sqlmqtest/sendentryxxxprocess. odx solution: one is to define the non-serialized object type to the atomic scope, the other is to set the transaction type to none or set the entire orchestration transaction type to atomic. 8. The message engine cannot retrieve configurations from the database. Details: "c0002a1f"Error message: the message engine cannot retrieve configurations from the database. Details: "c0002a1f ". Solution: the possible cause is a database access problem. Without careful confirmation, the final solution is to reinstall BizTalk Server. 9. The log entry string is too long. The string to write Event Logs cannot exceed 32766 charactersError message: (the error log is long and a part is listed) uncaptured exceptions (see "Internal exceptions" below) Internal exceptions of suspended services: the log item string is too long. The string to write Event Logs cannot exceed 32766 characters. Exception type: argumentexception Source: system target site: void internalwriteevent (uint32, uint16, system. diagnostics. eventlogentrytype, system. string [], byte [], system. string) solution: the possible cause of this situation is that the amount of data obtained by the receiving adapter at one time is too large. This problem occurs when I use an SQL adapter to receive 2500 records and process them in the business orchestration. Set the data volume to 100 and resume normal operation. 10. BizTalk Server 2006 Installation ProblemsInstallation document: http://www.microsoft.com/downloads/details.aspx? Familyid = b273269c-97e0-411d-8849-5a8070698e4a & displaylang = ZH-CN 11. The queue manager fails to set the queue definition of the MQSeries transmission attribute.Error message: failed to retrieve com class factory from remote component of computer 192.168.0.10 with clsid {86e96d72-0011-4b28-b1ac-bf52ab47f1b4} due to the following error: 80070005. Solution: http://blog.csdn.net/zhzuo/archive/2006/07/07/890030.aspx 12. The read-only attribute value of the message "message_xxx" is invalid.Error message: an instance of the Service biztalkserver2006test. sendnbeportentrydataprocess (614fa04f-8968-ef95-952b-11c74450b870) has been suspended. It remains suspended until it is managed to recover or terminate the service instance. If the service instance is restored, it will continue from the last continuous state, which may cause the same exception again. Instance id: 7f064588-f7a1-4dc0-b7f7-180163b04b61 shape name: construct_senddata shape ID: the location where the c5e435bc-cbbb-48b5-89df-a97ebe0fbee4 raises an exception: Segment 2, process 15 internal exception: the read-only attribute value of the message message_sendnbeport: "http://schemas.microsoft.com/biztalk/2003/system-properties?、namespace :“messageid "). Exception type: propertyupdatedisallowedexception Source: Microsoft. xlangs. engine target site: void readonlypropertysetter (Microsoft. xlangs. core. xmessage, Microsoft. xlangs. basetypes. xmlqname, system. object) solution: this error is caused by modifying the read-only messageid attribute and modifying the code for setting this attribute. For example, the following example. Message_xxx (BTS. messageid) = system. datetime. Now. tostring ("yyyymmddhhmmss "); 13. When you use the SQL adapter to send data, the following message is displayed: "The new transaction cannot be registered with the specified transaction processor"Error message: the adapter cannot transmit the message to be sent to the sending port "sendport_insertlist" (the URL is "SQL: // 192.168.0.2/h_ims_recv. After the Retry Interval specified for the sending port, the message will be re-transmitted. Details: "a new transaction cannot be registered with the specified transaction processor. ". Solution: http://go.microsoft.com/fwlink? Linkid = 61920 http://support.microsoft.com/kb/Q899191 14. An error occurred while starting the BizTalk Server 2006 application step by step.Error message: some dependencies are not started. Solution: first start the sending port, then start the business process, and then start the receiving location. 15. When the metadata of the SQL adapter is added, the following message is displayed: "An SQL statement cannot be executed. Make sure that the provided syntax is correct ."Error message: Right-click the BizTalk project and choose "add"> "add"> "generate"> "add adapter metadata" from the shortcut menu to start the "add adapter" Wizard. In the SQL transmission architecture generation wizard dialog box, select a stored procedure, click the generate button, and then click the next button to display "the SQL statement cannot be executed. Make sure that the provided syntax is correct. New transactions cannot be registered with the specified transaction processor ." . Solution: When the added metadata port type is "receiving port", the selected stored procedure does not return the schema metadata. You can modify the stored procedure by adding the "for XML Auto/*, lements */, xmldata" Statement to the SELECT statement to return metadata. After the statement is generated, remove the statement. 16. When the metadata of the SQL adapter is added, the following message is displayed: "An SQL statement cannot be executed. Make sure that the provided syntax is correct. New transactions cannot be registered with the specified transaction processor ."Error message: Right-click the BizTalk project and choose "add"> "add"> "generate"> "add adapter metadata" from the shortcut menu to start the "add adapter" Wizard. In the SQL transmission architecture generation wizard dialog box, select a stored procedure, click the generate button, and then click the next button to display "the SQL statement cannot be executed. Make sure that the provided syntax is correct. New transactions cannot be registered with the specified transaction processor ." . Solution: http://support.microsoft.com/kb/Q899191 17. In content-based message routing, the message "cannot route published messages because no subscribers can be found" is displayed"Error message: Error details: messages published cannot be routed because no subscribers can be found. This error occurs if the subscription business process or sending port has not been registered, or some of the message attributes required for subscription evaluation have not been upgraded. Use the BizTalk console to troubleshoot this problem. Solution: Possible Solution: in a project that does not use Business Process Orchestration, set the filter on the sending port. attribute: BTS. receiveportname OPERATOR: = value: [name of the receiving port] 18. An error occurred while executing the receiving pipeline. No component in the disassembly phase can identify the data.Error message: the message received by the adapter "file" at the "receive location1" (URI: "E:/test/test_input/*. *") has been suspended. Error details: An error occurred while executing the receiving pipeline: "Microsoft. biztalk. defaultpipelines. xmlreceive, Microsoft. biztalk. defaultpipelines, version = 3.0.1.0, culture = neutral, publickeytoken = 31bf3856ad364e35 ", source:" XML disassembling ", receiving port:" receiveport1 ", Uri:" E: /test/test_input /*. * ", cause: no component in the disassembly phase can identify the data. Solution: Put a non-XML file in the Receiving File directory, and set the installer as "Microsoft. biztalk. defaultpipelines. as a result of xmlreceive, if you are processing a flat file, adjust the receiving channel to "Microsoft. biztalk. defaultpipelines. passthrureceive ". If it is an XML file, check whether the XML format is correct. 19. An error occurred while executing the sending pipeline. cause: the data at the root level is invalid.Error message: "Microsoft. biztalk. defaultpipelines. xmltransmit, Microsoft. biztalk. defaultpipelines, version = 3.0.1.0, culture = neutral, publickeytoken = 31bf3856ad364e35 ", source:" XML assembler ", sending port:" sendport1 ", Uri:" E: /[Test message]/pre-data to the sub-center/test_output/% sourcefilename % ", cause: the data at the root level is invalid. Row 1, position 1. Solution: similar to the 17th issue, the issue of sending MPs queue settings in the sending port. If you are processing a flat file, adjust the sending pipeline to "Microsoft. BizTalk. defaultpipelines. passthrutransmit ". If it is an XML file, check whether the XML format is correct. 20. An error occurred while selecting the local server Queue Manager for the queue definition information of the MQSeries adapter.Error message: the server localhost is not installed or the adapter is incorrectly configured. Com exception: failed to retrieve the com class factory from the remote component of the Computer localhost with clsid {86e96d72-0011-4b28-b1ac-bf52ab47f1b4} because of the following error: 80040154. Solution: Check whether the BizTalk MQSeries proxy Configuration Wizard has been run. If you do not use the Start Menu> program> Microsoft BizTalk Server 2006> BizTalk MQSeries proxy Configuration Wizard. In addition, pay attention to MSDTC security configuration. Take Windows Server 2003 as an example. Enter the dcomcnfg command in the Start menu to open the component service console, right-click the computer and my computer under the component service on the left, select the MSDTC tab, and click the Security Configuration button to adjust the Security Configuration. For details, see http://blog.csdn.net/zhzuo/archive/2006/07/890030.aspx. 21. Message sending via MQSeries adapter Indicates access is deniedError message: the adapter cannot transmit the message to be sent to the sending port "sendport1" (the URL is "mqs: // localhost/nbeport_zz_test/zz_test_queue. After the Retry Interval specified for the sending port, the message will be re-transmitted. Details: "The adapter has encountered an 'Access denied 'error while attempting to contact the COM + object on the MQSeries server. ensure the BizTalk account is added to the role on the mqsagent COM + application. ". Solution: Take Windows 2003 Server as an example. Enter the dcomcnfg command in the Start menu to open the component service console, expand computer under component services on the left-> my computer-> COM + application-> mqsagent2-> role-> creatorowner-> User-> right-click to choose new> User-> Add BizTalk Server administrators and BizTalk application users. Right-click mqsagent2 and choose "Disable"> "enable"> "start" from the shortcut menu. If the problem persists, restart the computer. For specific configuration, see http://blog.csdn.net/zhzuo/archive/2006/07/07/890030.aspx. 22. An error occurred in the file system connector in the application log"Error message: an error occurs in the file system connector. For more information, see. Cant make a connection to // test-11/edidocshome/clients/pickupedi. errormessage: The operation cannot be specified med because a network component is not started or because a specified name cannot be used. foldername: // NBEPORT-MQ/edidocshome/documents/pickupedi, errormessage: The operation cannot be specified med because a network component is not started or because a specified name cannot be used. solution: The problem is that the access permission to the pickupedi directory is insufficient. You can set the Directory attribute security to solve this problem. 23. When a stored procedure is called using an SQL adapter, "hresult =" 0x80004005 "Description =" "transaction and another process are deadlocked on the locked resource and have been selected as the deadlock victim. Run the transaction again.Error message: the adapter cannot transmit messages sent to the sending port "sendport_sendhead_ SQL" (the URL is "SQL: // localhost/testdb. After the Retry Interval specified for the sending port, the message will be re-transmitted. Details: "hresult =" 0x80004005 "Description =" transaction (process ID 103) and another process are deadlocked on the lock resource and have been selected as a deadlock victim. Run the transaction again. "". Solution: the possible solution is as follows, http://support.microsoft.com/default.aspx? SCID = kb % 3bzh-cn % 3b833190 Based on the handling method provided by the above link address, I did not completely solve the problem. The following is a supplement: In the Send Port attribute of the application, select the "Transport advanced options" card and select the "arrive in order" check box. The subcheck box "stop sending Subsequent messages after the current message fails" depends on the actual situation. Solve the problem through the above settings. I think there are many reasons for this. Multiple applications access the same table in the same database. If improper processing causes deadlocks, this problem may occur. The author believes that the key to solving this problem is whether the access to tables in SQL statements or stored procedures is reasonably designed. This is not a solution for a single BizTalk Server System. 24. SQL Server scheduled job 'trackedmessages _ copy_biztalkmsgboxdb' FailedError message: SQL Server scheduled job 'trackedmessages _ copy_biztalkmsgboxdb' (0xe0586da84d856c4fb003c5fc5405edf4)-Status: Failed-invoked on: 15:39:00-message: This Job failed. Plan 7 (Schedule) calls the job. The last step is Step 1 (purge ). Solution: Check that the statement executed by the scheduled task is "Exec bts_copytrackedmessagestodta 'computer name', 'biztalkdtadb '". View error records and prompt you to add the specified sqlserver server as the linked server. Since the BizTalk application server used by the author is installed on the same server as the SQL Server 2005 server, it turns out to be a strange way to add the local machine to the linked server? You cannot add a local server to the linked server through the "Server Object" node of SQL Server 2005. Therefore, the stored procedure (master. DBO. sp_addlinkedserver), the result is no good. A colleague adds a remote connection server locally, then exports the link server script from the "write the link server script as" menu, and modifies the server name for the generated script, run the command on the server where BizTalk is located. The result is successfully added. Solve the problem and the scheduled task runs normally. When I access the "Server Object" node again, I can see the newly added local server and view this attribute. On the Options page, I cannot view "security" and "server options ", the prompt "you cannot create a local SQL server as a linked server" is displayed ". Is it a bug? 25. Failed to Load file or assembly, the system cannot find the specified fileError message: uncaptured exceptions (see "internal exceptions" below) have suspended an instance of the Service "h2ksubstration. orchestrations. h2ksubscriptionorchestration (56e2103c-6fbb-1ae7-090b-2ad857498bd5. It remains suspended until it is managed to recover or terminate the service instance. If the service instance is restored, it will continue from the last continuous state, which may cause the same exception again. Internal exception: failed to load the file or assembly "nbeport. BizTalk, version = 1.0.0.0, culture = neutral, publickeytoken = 5fe699727ca8b4b6" or one of its dependencies. The system cannot find the specified file. Exception type: filenotfoundexception Source: customs. h2ksubscription target site: Microsoft. xlangs. core. stopconditions segment1 (Microsoft. xlangs. core. stopconditions) solution: Check the resource node of the application and add "nbeport. biztalk component, confirm in. whether the component exists in the global assembly. If the component does not need to be added to the global assembly.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.