Category: BizTalk

HL7: NTE_NotesAndComments segment is not unique 0

HL7: NTE_NotesAndComments segment is not unique

I’ve found quite some bugs (no Microsoft, this is not by design, these are bugs) in the HL7 accelerator for BizTalk. I will try and post some solutions for these bugs over here. First one: The NTE_NotesAndComments segment is not unique. And because HL7 is a flat file with everything on the same level, the definition of the schemas of HL7 version 2.4 is incorrect! This will eventually cause that...


Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0×80131401)

If you get the error below (or something resembling the error below), you should uncheck the 32-bit only flag in your host and be sure the orchestration will be hosted by a new 64-bit instance. xlang/s engine event log entry: Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Company.CompanyDivision.BizTalk.AutoWarehouse.Orchestrations.HandleMessageFromAutoWarehouse(8a6f1226-bf81-5a66-3929-0fd9a6362777)’. The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will...

Exception from HRESULT: 0xC0C01B3D 0

Exception from HRESULT: 0xC0C01B3D

If you get the following error: Exception from HRESULT: 0xC0C01B3D Check your project properties > deployment and change the server to either “(LOCAL)” if you are doing a local deployment, or the actual servername to which you are trying to deploy the solution or project.


Can’t terminate service instance in BizTalk

Well, this method is a bit harsh, but I really needed it terminated. You can look up the Service Instance Id and Service Type Id and execute the following stored procedure on BiztalkMsgBoxDb. Note that this should not be common practice and you should search for the cause of this behavior if it occurs often! DECLARE @out INT BEGIN TRANSACTION exec dbo.int_AdminTerminateInstance_BizTalkServerApplication ‘ServiceInstanceId’, ‘ServiceTypeID’ , @out COMMIT