ATDB0702: Unable to create an instance of the project Database


Applies To 
Product(s):AutoPLANT Modeler
Version(s):08.11.11.XXX
Environment: Windows 7/ 8.1/ 10 (64 bit)
Area: Errors, Logs, Messages, Crashes
Subarea: 
Original Author:Kestutis Mitkus, Bentley Product Advantage Group

Background

After upgrading AutoPLANT to newer version, while starting any model, a ATDB0702 message about wrongly registered APProjectDB.dll was popping out:

ATD80702: Unable to create an instance of the project Database. Make sure the project database DLL (APProjectD8.dII) is installed and registered correctly

Steps to Resolve

AutoPLANT reinstallation and registries cleanup of older version was not helping, only after unregistering this APProjectDB.dll file, cleaning registry entries of this file and registering it again problem was solved

Unregister APProjectDB.dll

  1. Open command window and input this command line:
    1. cd C:\Program Files (x86)\Common Files\Bentley Shared\Plant V8i regsvr32 /u APProjectDB.dll
  2. Or
    1. Go to C:\Program Files (x86)\Common Files\Bentley Share
    2. Hold Shift button and right click on Plant V8i folder
    3. Select to "Open command window here"


    4. Input this command to unregister APProjectDB.dll file:
      regsvr32 /u APProjectDB.dll

Clean registries and register APProjectDB.dll file again

  1. Open registry editor, search for APProjectDB.dll entries and delete them
  2. Then open command window and register APProjectDB.dll file
    regsvr32 APProjectDB.dll
  3. Start AutoPLANT and verify the results

Still a Problem?

If above problem still persist, then please create a Service Request and contact the Bentley Product Advantage group.  Please include a list of all relevant details to get in depth analysis for a solution or workaround. 

Comments or Corrections?

Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!