Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


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

↑ Back to the top


Keywords: KB840303, kbprb

↑ Back to the top

Article Info
Article ID : 840303
Revision : 5
Created on : 4/7/2004
Published on : 4/7/2004
Exists online : False
Views : 382