ERROR MESAGGE:
“Database ‘xxx’ cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details. (Microsoft SQL Server, Error: 945)”
EXPLANATION:
If the Database’s Data and Log files are deleted, you will receive this error when you try to access the database.
SOLUTION:
Because the files are deleted, there is not much you can do. I suggest you restore it from the last backup.