How to create Biztalk “Document SpecName”

Document namespace is a combination of name and assembly of the schema, separate by a comma (and a space). Step-1. To find this you need to go to BizTalk Admin console then navigate to the application where you have deployed your schema DLL. Click on the Schemas (in the tree structure on the left) to […]

What does custom property %property{jobType} or job[%property{jobType}] do to a Log4Net Filename?

Log4Net allows you to customize your output files with various parameters. For example: <pre> <conversionPattern value="%property{logLocation}\Logs\MyProgram.log.%date{yyyyMMdd-HHmm} processid[%processid]  job[%property{jobType}].txt" /> </pre> It will show something like “job[LoadJob]” or “job[Whatever] based on your custom property called “jobType”. This is a custom property which is set as follows. <pre> GlobalContext.Properties["jobType"] = currentProcessorType;  // or some literal value </pre>

BizTalk Map: HRESULT: 0x80131942, issue is calling Csharp GetTimeStamp function from XSLT inline code

Error when running from BizTalk run time environment: Exception from HRESULT: 0x80131942 (no other details were provided) Exact error when running “Test Map” in Visual Studio: Does not contain a matching ‘GetTimestamp’ method that has 0 parameter(s). I was transferring a BizTalk map from 2010 to 2013. There was an XSLT inline that had the […]

BizTalk Import Bindings Error: Object reference not set to an instance of an object.

When importing bindings into an application, you might get this error: Failed to update binding information (mscorlib): Additional Information BizTalk Import Bindings Error: Object reference not set to an instance of an object. (Microsoft.BizTalk.ExplorerOM) While there maybe multiple reasons for this error, here’s the one I found. The map I was referencing in a Receive […]

BizTalk Test Map: error btm1044: Input validation error: Could not find schema information for the element ‘http://Namespace/:ElementName.

When doing a test map, you could get dozens or hundreds of the following error: error btm1044: Input validation error: Could not find schema information for the element ‘http://Namespace/:ElementName. Visual Studio Solution Explorer allows you to right-click on a .btm map and specify a property called “TestMap Input Instance”. If you specify a file that […]

BizTalk Misleading Error: HRESULT: 0x80070002 (system cannot find the file specified)

Error text: A message sent to adapter “FILE” on send port “spGwCustomers_Caterpillar_EDI210” with URI “C:\Integrations\EDI1\Customers\xxxx\outbound\210\Test_210_%datetime_bts2000%.TXT” is suspended. Error details: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) Solution The file not found can refer to the map .dll. The error to me is quite misleading, because it implies the directory/filename path listed […]

Missing attribute “test” on a BizTalk Map

Got the mysterious error “Missing attribute test”. Finally, noticed that I had the “t” missing on the keyword “test”: INCORRECT <xsl:if est=”RateAndCharges/@SpecialChargeOrAllowanceCode != ‘ABC’ “> CORRECT <xsl:if test=”RateAndCharges/@SpecialChargeOrAllowanceCode != ‘ABC’ “>