Monday, March 31, 2008

Pipeline Components Error Lookup

Here is a Tomas Restrepo very useful utility class to translate HRESULT error codes from pipeline components (XML Disassembler, ...) to a understandable error code:

http://www.winterdom.com/dev/bts/BtsErrorLookup.cs.txt

For example, in my last application I get from Flat File Assembler an empty error message with HRESULT = 0xc0c01829. The Tomas Restrepo utility class, translate it to "BtsErrorAssemblerDoctypeDoesntMatchSchemas", that helps me to solve the error.

More information in:

http://technet.microsoft.com/en-us/library/microsoft.biztalk.component.aspx

For example:

http://technet.microsoft.com/en-us/library/microsoft.biztalk.component.xmlasmexception.btserrorassemblerdoctypedoesntmatchschemas.aspx