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’ “>

Powershell to Rename Visual Studio Solution

Have you ever wanted to make a new Visual Studio solution (even a BizTalk one) as a copy of another, except just change the program names? And it would automatically rename everything, including the solutions, project files, assembly files and so on? I’ve needed this program for years, and finally wrote it! Remember that the […]

BTDF Domain accounts must include the domain name. Local accounts must not include a domain or computer name.

BTDF (BizTalk Deployment Facility) gave this error during a deploy in Visual Studio to the local machine: Error: Domain accounts must include the domain name. Local accounts must not include a domain or computer name. Other people mention that you are using computer or domain account when the other is needed. In my case, my […]