Microsoft
Software
Hardware
Network
Question : not able to create DB from model database.
when i run the below,
create database TestLogInFULL
go
use TestLogInFULL
alter database TestLogInFULL set recovery full
select * into TestLogInFULL from sysdatabases where 1=0
The errors are as below:
Msg 1807, Level 16, State 3, Line 1
Could not obtain exclusive lock on database 'model'. Retry the operation later.
Msg 1802, Level 16, State 4, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
Msg 911, Level 16, State 1, Line 1
Could not locate entry in sysdatabases for database 'TestLogInFULL'. No entry found with that name. Make sure that the name is entered correctly.
why not?
Answer : not able to create DB from model database.
I fear, with your other question in mind about the db in full recovery mode behaving like in simple recovery mode, that you tampered somehow with the model database. I would suggest a new clean installation ...
Random Solutions
How convert this c++ code to csharp
how can i create window service in C# using InstallUtil.exe ??
Trimming the beginning and end of a string
Block Logme internally
Doing an INSERT or Update based on if the record already exists or not while importing data from a text file to SQL SERVER 2005.
Difference between Icefaces,myfaces,richfaces
in JSF?
Exchange Mail Problem
Change primary smtp addresses for 29 users using powershell for exchange
New Windows 7 workstations in existing SBS 2003 domain
VS2008 - Help with preferences