AcDbOle2Frame

AcDbOle2Frame

Anonymous
Not applicable
850 Views
1 Reply
Message 1 of 2

AcDbOle2Frame

Anonymous
Not applicable

I have a company owned application thats coded to use AutoCAD.  Drawing files are being corrupted and will no longer open unless a RECOVER is performed.  Need to know what exactly is corrupting the drawing. This is the Recovery log from a drawing file.  I also attached a copy of the corrupt drawing file.

-------------------------------------------------------------------------------------------------------------------------------------------

Drawing recovery log.
Scanning completed.
Validating objects in the handle table.
Valid objects 653    Invalid objects 0
Validating objects completed.
    Salvaged database from drawing.
Reading handle 308 object type AcDbOle2Frame
          Error 151 (eOutOfRange)                       Object discarded
Removed 2 unread objects from entity lists.
Auditing Header
Auditing Tables
Auditing Entities Pass 1
Pass 1 500     objects auditedAcDbSortentsTable(598)
            Error for Entry (308) eInvalidInput         was Removed.
Auditing Entities Pass 2
Pass 2 500     objects audited
Auditing Blocks
 11      Blocks audited
Auditing AcDsRecords
Total errors found 3 fixed 3
Erased 1 objects
Opening an AutoCAD 2000 format file.
Substituting [simplex.shx] for [Swis721 BlkOul BT].
Regenerating model.
AutoCAD menu utilities loaded.
Command:
Autodesk DWG.  This file is a TrustedDWG last saved by an Autodesk application or Autodesk licensed application.

 

 

0 Likes
851 Views
1 Reply
Reply (1)
Message 2 of 2

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Need to know what exactly is corrupting the drawing

I guess noone can tell you what damaged the drawing. But I would say one of the major reasons could be the usage of OLE-objects and the drawing format DWG2000 which is like comuter stone age. OLE-objects are a critical part, also sometimes in current software releases.

 

Whenever you have a chance to use anything else but OLE-objects, use the alternative.

 

And saving back drawings to such an old release should be avoided too.

 

HTH; - alfred -

PS: as we are here in the development forum: are you writing an app which creates that issues?

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes