Projectwise Geospatial connector admin, problem register feature post

We use Project wise V8i 

We have a problem with REGISTER FEATURE. When a second "RegisterFeature" is done, it loses the reference with the GISObjectID.

At the second "REGISTER FEATURE", it misses the reference of the Generator.

This is the message, we got from Bentley Map


---> System.ApplicationException: Unable to post instance [92e01567-0ec0-4ecc-b088-32a0c667ba41] of type [OC_NUM_AQU_ACCESSOIRE_P] -- instance id does not match type [RELDATATYPE_Integer] of object identifying property. This may indicate that an object id generator needs to be defined for this class. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)

What can cause the problem?

First « REGISTER FEATURE », in ggSchema.xml

                                                               <ECClass typeName="OC_NUM_AQU_ACCESSOIRE_P" displayLabel="AQU ACCESSOIRE P" isDomainClass="True" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.2.0">;

                                                                               <ECCustomAttributes>

                                                                                              <ECRelationalDbMapping xmlns="OC_NUM.01.00">

                                                                                                              <TableName>OC_NUM.AQU_ACCESSOIRE_P</TableName>

                                                                                                              <CascadeRank>0</CascadeRank>

                                                                                                              <isFeature>true</isFeature>

                                                                                                              <temporalSupport>None</temporalSupport>

                                                                                              </ECRelationalDbMapping>

                                                                                              <ECXfm xmlns="OC_NUM.01.00">

                                                                                                              <geodb:XfmFacilityTypeName xmlns:geodb="OC_NUM.01.00">AQU_ACCESSOIRE_P</geodb:XfmFacilityTypeName>

                                                                                              </ECXfm>

                                                                               </ECCustomAttributes>

                                                                               <ECProperty propertyName="OBJECTID" typeName="int" discoveredPropertyName="OBJECTID" displayLabel="OBJECTID">

                                                                                              <ECCustomAttributes>

                                                                                                              <GISProperty xmlns="OC_NUM.01.00">

                                                                                                                              <nullable>False</nullable>

                                                                                                                              <editable>True</editable>

                                                                                                                              <length>22</length>

                                                                                                                              <precision>8</precision>

                                                                                                                              <scale>0</scale>

                                                                                                              </GISProperty>

                                                                                                              <ECRelationalDbMapping xmlns="OC_NUM.01.00">

                                                                                                                              <ColumnName>OBJECTID</ColumnName>

                                                                                                              </ECRelationalDbMapping>

                                                                                                              <GISObjectId xmlns="OC_NUM.01.00">

                                                                                                                              <Generator>OC_NUM.AQU_OBJECTID_P_SEQ</Generator>

                                                                                                              </GISObjectId>

                                                                                              </ECCustomAttributes>

                                                                               </ECProperty>

                                                               </ECClass>

 

Second « REGISTER FEATURE », miss reference du Generator.

 

                                                               <ECClass typeName="OC_NUM_AQU_ACCESSOIRE_P" displayLabel="AQU ACCESSOIRE P" isDomainClass="True" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.2.0">;

                                                                               <ECCustomAttributes>

                                                                                              <ECRelationalDbMapping xmlns="OC_NUM.01.00">

                                                                                                              <TableName>OC_NUM.AQU_ACCESSOIRE_P</TableName>

                                                                                                              <CascadeRank>0</CascadeRank>

                                                                                                              <isFeature>true</isFeature>

                                                                                                              <temporalSupport>None</temporalSupport>

                                                                                              </ECRelationalDbMapping>

                                                                                              <ECXfm xmlns="OC_NUM.01.00">

                                                                                                              <geodb:XfmFacilityTypeName xmlns:geodb="OC_NUM.01.00">AQU_ACCESSOIRE_P</geodb:XfmFacilityTypeName>

                                                                                                              <geodb:XfmCategory xmlns:geodb="OC_NUM.01.00">none</geodb:XfmCategory>

                                                                                              </ECXfm>

                                                                               </ECCustomAttributes>

                                                                               <ECProperty propertyName="OBJECTID" typeName="int">

                                                                                              <ECCustomAttributes>

                                                                                                              <GISProperty xmlns="OC_NUM.01.00">

                                                                                                                              <nullable>False</nullable>

                                                                                                                              <editable>True</editable>

                                                                                                                              <length>22</length>

                                                                                                                              <precision>8</precision>

                                                                                                                              <scale>0</scale>

                                                                                                              </GISProperty>

                                                                                                              <ECRelationalDbMapping xmlns="OC_NUM.01.00">

                                                                                                                              <ColumnName>OBJECTID</ColumnName>

                                                                                                              </ECRelationalDbMapping>

                                                                                                              <GISObjectId xmlns="OC_NUM.01.00"/>

                                                                                              </ECCustomAttributes>

                                                                               </ECProperty>

                                                               </ECClass>

 

Parents Reply Children
No Data