Solution ID: prim15885 |
Error(s): "Database ‘PMDB’ cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details." / "Cannot associate files with different databases." |
Status: Reviewed |
Version(s): 4.0, 4.1, 5.0 |
From Primavera OCP
Problem: | Error: “Database ‘PMDB’ cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.” |
Problem: | Msg 5173, Level 16, State 1, Server CCC-IL-FS1, Line 1 cannot associate files with different databases. Msg 945, Level 14, State 2, Server CCC-IL-FS1, Line 1 Database ‘PMDB’ cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details. Log file ‘E:\MSSQL\Data\PMDB_LOG.LDF’ does not match the primary file. It may be from a different database or the log may have been rebuilt previously. Image may be NSFW. Clik here to view. ![]() |
Problem: | Symptom #2 udopen: operating system error 32(The process cannot access the file because it is being used by another process.) FCB::Open Failed: could not open device c:\program files\microsoft sql server\mssql$primavera\data\pcondb_dat.mdf |
Cause: | The LDF file may have become too large, or corrupted. |
Fix: |
|
Fix: | Solution #2 The Windows service MSSQL$PRIMAVERA may have failed to start. Another program, such as an antivirus or backup software, may have had exclusive access to the file(s) at the time the service attempted to start.
|