Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

sql service cannot start Expand / Collapse
Author
Message
Posted Wednesday, December 05, 2012 2:14 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, December 07, 2012 1:39 AM
Points: 3, Visits: 8
* when I connect to sql server it displaying the following error:

TITLE: Connect to Server
------------------------------

Cannot connect to NOURHAN-PC.

------------------------------
ADDITIONAL INFORMATION:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------



* sql server services are stopped when I try to start them ,they display the following error:

the request failed or the service didn't respond in timely fashion.
consult the event log or other applicable error logs for details.

* when I try to start sql server(sql express) from services.msc
it display the following error :


windows could not start the sql server (SQLEXPRESS) services on local computer.
error 2: the system cannot find the file specified.


can anybody help me please,
thanks in advance
Post #1393207
Posted Wednesday, December 05, 2012 2:25 PM
UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Wednesday, May 15, 2013 8:20 AM
Points: 1,446, Visits: 1,883
A couple of possibilities come to mind.

1.) Somehow, a critical file installed by SQL Server is no longer present,

2.) Somehow, NTFS security on at least one of the critical folders (or files) for SQL Server has been changed, and the account SQL Server runs under no longer has access to it,

3.) Somehow, a critical registry entry for SQL Server has either been deleted, or changed in a bad way.

This may not be an exhaustive list...

Let's hope you have a good backup of the machine, or can easily reinstall and preserve the data files.



Steve
(aka sgmunson)

Weight Loss Tips
Post #1393217
Posted Wednesday, December 05, 2012 3:50 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 4:02 PM
Points: 5,269, Visits: 11,203
look in the SQL errorlog for more specific messages, sounds like a database file is missing.

---------------------------------------------------------------------

Post #1393254
Posted Thursday, December 06, 2012 12:14 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Today @ 1:13 AM
Points: 323, Visits: 964
what is their in Windows Event log ?

-----------------------------------------------------------------------------
संकेत कोकणे
Post #1393343
Posted Thursday, December 06, 2012 5:18 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, December 06, 2012 2:49 PM
Points: 140, Visits: 310
Is it the first time you are trying to connect or was it working fine earlier?

Pavan.
Post #1393448
Posted Thursday, December 06, 2012 5:27 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:26 AM
Points: 37,692, Visits: 29,950
What's the last few messages in the SQL error log?


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1393455
Posted Thursday, December 06, 2012 1:18 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, December 07, 2012 1:39 AM
Points: 3, Visits: 8
windows cannot find C:\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\master.mdf;-eC:\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Log\ERRORLOG
Post #1393728
Posted Thursday, December 06, 2012 1:25 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:26 AM
Points: 37,692, Visits: 29,950
Huh?

The SQL error log, C:\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Log\ERRORLOG, open it in notepad and paste the last few lines here



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1393730
Posted Friday, December 07, 2012 1:42 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, December 07, 2012 1:39 AM
Points: 3, Visits: 8
thers is no folder called MSSQL10.SQLEXPRESS in Microsoft sql server folder
Post #1393914
Posted Friday, December 07, 2012 2:44 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:26 AM
Points: 37,692, Visits: 29,950
Ok...

Open the SQL Server configuration manager, find the instance in question (Express), right click-> properties, go to advanced, look for the startup parameters, copy whatever's there and paste it here.

When did the service last run?
What's happened since then?



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1393942
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse