Monday, March 14, 2005
Biztalk Covast EDI problem: Internal Compiler Error ...likely culprit is 'CODEGEN'.
Biztalk Covast EDI problem: Internal Compiler Error
...likely culprit is 'CODEGEN'.
Internal Compiler Error (0xc0000005 at address 5362514E):
likely culprit is 'CODEGEN'.
This has been confirmed by Covast to be an VS.Net internal
error. The cause is the size of the xsd is too large(10 megs and above is
considered large).
Solution 1:(not always works, not always reducing the size
enough)
Inside Visual Studio.Net, right click the biztalk project,
click on add generated items->generate schema->generate Covast EDI
schema.
Uncheck the "include description". By unchecking
this, the description will not be included in the tag name of the covast edi
xsd. Therefore; the of the tag size is reduced=> the size of the whole xsd
is reduced.
Solution 2: (should be always works).
Rather messing with the codeset inside Covast EDI
database(CovastDB), we can go to the large xsd, try to manually reduce its size
by deleting repeating and long enum collection.
DELETE THOSE ENUM, only LEAVE THE ENUM YOU NEED.
Look for these nodes:
REDUCE THESE FIELDS' enum:
Reference_Identification_Qualifier
Identification_Code_Qualifier
Unit_or_Basis_for_Measurement_Code
Entity_Identifier_Code
Date_Time_Qualifier
Location_Qualifier
Product_Service_ID_Qualifier
Agency_Qualifier_Code
Date_Time_Period_Format_Qualifier
Amount_Qualifier_Code
Contact_Function_Code
Try later:
Service_Level_Code
Surface_Layer_Position_Code
For example:
<xs:simpleType
name="Reference_Identification_Qualifier">
<xs:restriction base="CovastTypeA">
<xs:minLength value="2"/>
<xs:maxLength value="3"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="06"/>
<xs:enumeration value="07"/>
<xs:enumeration value="08"/>
style='mso-spacerun:yes'> <xs:enumeration value="09"/>
<xs:enumeration value="0A"/>
<xs:enumeration value="0B"/>
<xs:enumeration value="0D"/>
<xs:enumeration value="0E"/>
<xs:enumeration value="0F"/>
<xs:enumeration value="0G"/>
<xs:enumeration value="0H"/>
<xs:enumeration value="0I"/>
............................
Replace it with only the enum you need:
<xs:simpleType
name="Reference_Identification_Qualifier">
<xs:restriction
base="CovastTypeA">
<xs:minLength
value="2" />
<xs:maxLength
value="3" />
<xs:enumeration value="AM" />
<xs:enumeration value="IK" />
<xs:enumeration value="IV" />
<xs:enumeration value="PO" />
<xs:enumeration value="ST" />style='mso-spacerun:yes'>
</xs:restriction>
</xs:simpleType>
Repeat the process over and over again with other type of
nodes.
Note: one type of nodes can appear many times in the same
xsd.
...likely culprit is 'CODEGEN'.
Internal Compiler Error (0xc0000005 at address 5362514E):
likely culprit is 'CODEGEN'.
This has been confirmed by Covast to be an VS.Net internal
error. The cause is the size of the xsd is too large(10 megs and above is
considered large).
Solution 1:(not always works, not always reducing the size
enough)
Inside Visual Studio.Net, right click the biztalk project,
click on add generated items->generate schema->generate Covast EDI
schema.
Uncheck the "include description". By unchecking
this, the description will not be included in the tag name of the covast edi
xsd. Therefore; the of the tag size is reduced=> the size of the whole xsd
is reduced.
Solution 2: (should be always works).
Rather messing with the codeset inside Covast EDI
database(CovastDB), we can go to the large xsd, try to manually reduce its size
by deleting repeating and long enum collection.
DELETE THOSE ENUM, only LEAVE THE ENUM YOU NEED.
Look for these nodes:
REDUCE THESE FIELDS' enum:
Reference_Identification_Qualifier
Identification_Code_Qualifier
Unit_or_Basis_for_Measurement_Code
Entity_Identifier_Code
Date_Time_Qualifier
Location_Qualifier
Product_Service_ID_Qualifier
Agency_Qualifier_Code
Date_Time_Period_Format_Qualifier
Amount_Qualifier_Code
Contact_Function_Code
Try later:
Service_Level_Code
Surface_Layer_Position_Code
For example:
<xs:simpleType
name="Reference_Identification_Qualifier">
<xs:restriction base="CovastTypeA">
<xs:minLength value="2"/>
<xs:maxLength value="3"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="06"/>
<xs:enumeration value="07"/>
<xs:enumeration value="08"/>
style='mso-spacerun:yes'> <xs:enumeration value="09"/>
<xs:enumeration value="0A"/>
<xs:enumeration value="0B"/>
<xs:enumeration value="0D"/>
<xs:enumeration value="0E"/>
<xs:enumeration value="0F"/>
<xs:enumeration value="0G"/>
<xs:enumeration value="0H"/>
<xs:enumeration value="0I"/>
............................
Replace it with only the enum you need:
<xs:simpleType
name="Reference_Identification_Qualifier">
<xs:restriction
base="CovastTypeA">
<xs:minLength
value="2" />
<xs:maxLength
value="3" />
<xs:enumeration value="AM" />
<xs:enumeration value="IK" />
<xs:enumeration value="IV" />
<xs:enumeration value="PO" />
<xs:enumeration value="ST" />style='mso-spacerun:yes'>
</xs:restriction>
</xs:simpleType>
Repeat the process over and over again with other type of
nodes.
Note: one type of nodes can appear many times in the same
xsd.
Sunday, March 13, 2005
Biztalk EDI 101
This is my first post:)