You are viewing limited content. For full access, please sign in.

Question

Question

Unable to configure/create LF Forms database

asked on February 1, 2015

When I try to create the DB I get the following error:

  • ERROR [42000] [Microsoft][SQL Native Client][SQL Server]Could not obtain exclusive lock on database 'model'. Retry the operation later. ERROR [42000] [Microsoft][SQL Native Client][SQL Server]CREATE DATABASE failed. Some file names listed could not be created. Check related errors.

 

I am trying to use the same SQL DB that houses the Laserfiche DB, any tips/tricks/hints are appreciated

0 0

Replies

replied on February 2, 2015

issue was with the backup software we use.   Had to stop the agent service to free up the model DB

1 0
replied on February 2, 2015

Hello Paul,

Have you tried creating a new database using the sql server management studio, and then configuring Forms to use that database?

0 0
replied on February 2, 2015

How exactly are you creating the Forms db?

Create one that is separate from the one used by LF.  You should not be using the same one used by the repository.

0 0
replied on February 2, 2015

I was letting the Forms config "wizard" create the DB for me.   I just tried to create the Database first in SQL and received the same error.  So it looks like it isn't an LF issue.   I will have to troubleshoot that on my own.   Thanks guys

0 0
replied on February 2, 2015

Just run sp_who2 and see who / what is connected to the model database. In my case it was a user session from their PC. Got them to logoff instance and error went away.

 

A reboot of the SQL box would also clear these connections.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.