Hi,
while converting a DGN file to Oracle Spatial I've encounter a problem with just one of my many files being converted.
For that file, in DGN2SDO log file there is a lot of messages:
ERROR: Cannot retrieve mslinked row. Table = (aep_tp_troncon), PropertyName=(nature). Error = (The Property 'nature' is read only).ERROR: Cannot retrieve mslinked row. Table = (aep_tp_troncon), PropertyName=(length). Error = (The Property 'length' is read only).ERROR: Cannot retrieve mslinked row. Table = (aep_tp_troncon), PropertyName=(traffic). Error = (The Property 'traffic' is read only).ERROR: Cannot retrieve mslinked row. Table = (aep_tp_troncon), PropertyName=(priorite). Error = (The Property 'priorite' is read only).ERROR: Cannot retrieve mslinked row. Table = (aep_tp_troncon), PropertyName=(mslink). Error = (The Property 'mslink' is read only).ERROR: Cannot retrieve mslinked row. Table = (aep_tp_troncon), PropertyName=(typtraffic). Error = (The Property 'typtraffic' is read only).ERROR: Error encountered while translating instances = (The Property 'DGN_ID' is read only).Bentley.ECObjects.ECObjectsException+ReadOnly: The Property 'DGN_ID' is read only at Bentley.ECObjects.Instance.ECPrimitiveValue.CheckReadOnly() at Bentley.ECObjects.Instance.ECIntegerValue.set_IntValue(Int32 value) at Bentley.Geospatial.Dgn2Sdo.EcDgnEventHandlers.EcDgnCursorReadObject(IECInstanceCursor eventGenerator, ECReadObjectEventArgs args) at Bentley.EngineeringContent.Storage.Xfm.ECXfmScanDgnInstanceCursor.raise_ReadObject(IECInstanceCursor i1, ECReadObjectEventArgs i2) at Bentley.EngineeringContent.Storage.Xfm.ECXfmScanDgnInstanceCursor.Read() at Bentley.Geospatial.Dgn2Sdo.Dgn2SdoTranslator.Translate(IECInstanceCursor instanceCursor).
It seems to me, that such a "section" is written for each "problematic" element. Size of LOGfile is so huge that it seems all dgn elements are logged.
Reading "cannot retrieve mslinked row" I've checked links against database (SQL Server 2008 via ODBC) and there are all linked records.
Entity/tablename pair in MSCATALOG is OK, besides other dgn files from the same project with similar links don't have any problems reported.
However (!):
at the end of log file there is a message:
Total instances read = 2308Total instances written = 2308
and in DAT files all seems to be OK (I'm still checking that).
I don't understand, why above errors are reported when (number of instances read) == (number of instances written) ?
What problem can produce such an error message ?
Versions used: DGN2SDO (8.11.7.434) with MicroStation version (08.11.07.443).
Rysiek
That whas that, file was self-referenced.
Thank you Jeff.
Rysiek,
Please detach all reference files attached to the design file being processed and attempt the DGN2SDO conversion again.
Regards,
Jeff Bielefeld [Bentley]