Autodesk AutoCAD Services & Support

Error "Object Library invalid" when running VBA applications

Issue

After installing updates from Microsoft, running VBA applications in AutoCAD may fail with one or more of the following errors:

“Object Library invalid or contains references to object definitions that could not be found”

"Cannot insert object." 

"Element not found."

Solution

This issue is caused by the Microsoft Security Update MS12-027 which was released in April 2012.
 
Microsoft has posted a solution on the Microsoft web site at http://support.microsoft.com/kb/2598041
 
To resolve the issue, please follow the instructions under "Known Issues with this security Update".


Support – Terms of Use
  • Did this page resolve your issue?
  • Translate This Page (Beta)

    Learn More about this translation beta.Page is machine translated. Learn More.

    Was this translation useful?

  • Document Information

    Published date: 2012-May-03
    ID: TS19357178

     

    Applies to:
    AutoCAD® 2013
    AutoCAD® 2012
    AutoCAD® 2011
    AutoCAD® 2010
    AutoCAD® Architecture 2012
    AutoCAD® Architecture 2011
    AutoCAD® Architecture 2010
    AutoCAD® Architecture 2009
    AutoCAD® Civil 3D® 2013
    AutoCAD® Civil 3D® 2012
    AutoCAD® Civil 3D® 2011
    AutoCAD® Civil 3D® 2010
    AutoCAD® ecscad 2013
    AutoCAD® ecscad 2012
    AutoCAD® ecscad 2011
    AutoCAD® ecscad 2010
    AutoCAD® Electrical 2013
    AutoCAD® Electrical 2012
    AutoCAD® Electrical 2011
    AutoCAD® Electrical 2010
    AutoCAD® Map 3D 2013
    AutoCAD® Map 3D 2012
    AutoCAD® Map 3D 2011
    AutoCAD® Map 3D 2010
    AutoCAD® Mechanical 2013
    AutoCAD® Mechanical 2012
    AutoCAD® Mechanical 2011
    AutoCAD® Mechanical 2010
    AutoCAD® MEP 2013
    AutoCAD® MEP 2012
    AutoCAD® MEP 2011
    AutoCAD® MEP 2010
    AutoCAD® P&ID 2013
    AutoCAD® P&ID 2012
    AutoCAD® P&ID 2011
    AutoCAD® P&ID 2010
    AutoCAD® Plant 3D 2013
    AutoCAD® Plant 3D 2012
    AutoCAD® Plant 3D 2011
    AutoCAD® Plant 3D 2010
    AutoCAD® Structural Detailing 2013
    AutoCAD® Structural Detailing 2012
    AutoCAD® Structural Detailing 2011
    AutoCAD® Structural Detailing 2010