SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Unable to start SQL Server service
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rama108
Posting Yak Master

109 Posts

Posted - 01/17/2014 :  15:26:55  Show Profile  Reply with Quote
Hello,
I searched on the internet for hours but cannot resolve my issue, so this is my last resort.
I have 2 instances of SQL Server 2012 on my local machine (Windows 7). One instance starts without any problem, but when I start the other instance from the Services, it starts and immediately it stops.

When I try to Connect to server using SSMS, I get the following error:

No Connection could be made because the target machine actively refused it

My event log shows the following error:

An error occurred during recovery, preventing the database 'model' (3:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.

Thanks for your help.

ovc
Starting Member

Romania
35 Posts

Posted - 01/19/2014 :  18:17:19  Show Profile  Reply with Quote
Follow the steps mentioned in the following article.
http://blogs.msdn.com/b/karthick_pk/archive/2010/11/26/the-database-model-is-marked-restoring-and-is-in-a-state-that-does-not-allow-recovery-to-be-run.aspx

In step 5 sp_attach_db will crash the instance as in versions 2008 and later it uses tempdb (which could not be created because the model database is in restoring state).Instead use CREATE DATABASE ... FOR ATTACH
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000