Overview Error Number 6007 in CADWorx is a database connectivity error. It typically occurs when the CADWorx application (specifically the Specification Editor or the Plant Setup module) attempts to access the specification database files but fails to establish a valid connection.
The error message is generally displayed as:
"Error Number: 6007 - Cannot open database." error number 6007 cadworx
This error halts the loading of component data, preventing users from inserting spec-driven components.
If the error occurs when opening any drawing from a specific project, the project database is likely corrupt. Technical Write-Up: CADWorx Error 6007 Overview Error Number
Steps for Access-based projects:
C:\CADWorx Projects\Project1)..mdb file (e.g., Project1.mdb).File > Open → select the .mdb.Compact and Repair Database (Access 2016 and later: Database Tools > Compact and Repair).For SQL Server projects:
DBCC CHECKDB in SQL Management Studio.If the project paths or spec directories have moved, or if the Project.ini file points to a network location that is currently offline or mapped to a different drive letter, Error 6007 will occur when the software tries to query a non-existent path.
The AutoCAD .dwg file itself may contain damaged CADWorx extended entity data (EED) or dictionaries. This often happens after a crash during an auto-save operation. "Error Number: 6007 - Cannot open database
Before diving into solutions, recognize these additional signs that often appear alongside error number 6007:
; error: bad argument type or ; error: no function definition.In multi-user environments, if a user’s session ends unexpectedly (e.g., power loss), a "lock" file or a pending transaction might remain in the project database (SQL or Access backend), preventing subsequent access to that record and generating the 6007 error.