Flat file validation fails if the HIPAA Accelerator is installed and the first node of the schema is "X12_EnvelopeHeader" (840303)



The information in this article applies to:

  • Microsoft BizTalk Server 2002
  • Microsoft BizTalk Server Accelerator for HIPAA 2.0

SYMPTOMS

If you try to validate a flat file document with a schema when the first node is named X12_EnvelopeHeader, you may receive an error message that is similar to the following:

The required "TS834A1__BGN_BeginningSegment" record was not found in the inbound document. The parser failed to convert the document due to processing errors. See the following messages for details.
A dialog box with an error message that is similar to the following is generated in the Microsoft BizTalk Mapper when you try to use the Test Map command with a flat file document and when the first node of the inbound schema is named X12_EnvelopeHeader:

Unable to import native file C:\Native_file\834flat.txt because the data is corrupt. Choose another file or fix the data in the native file.
Note C:\Native_file\834flat.txt is a placeholder for the actual flat file document that you are testing with.

The Test Map command is available on the Tools menu in the BizTalk Mapper.

CAUSE

This behavior occurs when the BizTalk Server Accelerator for HIPAA 2.0 is installed on your computer that is running Microsoft BizTalk Server 2002. The BizTalk Server Accelerator for HIPAA 2.0 installs an updated version of the Microsoft BizTalk Server Validate Document Instance Library file (Validatedoc.dll). When you install the BizTalk Server Accelerator for HIPAA 2.0, the existing Validatedoc.dll file is replaced by a new file that is named Hipaavalidatedoc.dll. The new file interprets a schema with the first node named X12_EnvelopeHeader as a HIPAA compliant document. If you validate a non-HIPAA file against a schema with a first node named X12_EnvelopeHeader, the BizTalk Server Validate Document Instance Library file generates the error that is mentioned in the "Symptoms" section.

RESOLUTION

Do not use a schema with a first node that is named X12_EnvelopeHeader to validate flat files that are not HIPAA compliant on a computer that is running the BizTalk Server Accelerator for HIPAA 2.0. If you use flat file schemas with a first node that is named X12_EnvelopeHeader to validate non-HIPAA compliant flat file documents, you must rename this node to avoid the error that is described in the "Symptoms" section. Alternatively, you can validate non-HIPAA compliant flat file documents against a schema with a first node that is named X12_EnvelopeHeader on a computer that is running BizTalk Server 2002 that does not have the BizTalk Server Accelerator for HIPAA 2.0 installed.

STATUS

This behavior is by design.

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

826458 Any BizTalk Server hotfix may break HIPPA functionality


Modification Type:MajorLast Reviewed:4/7/2004
Keywords:kbprb KB840303 kbAudDeveloper