|
|
|
Forum 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
|
|
|
|
|
UDP 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
|
|
|
|
|
SSCertifiable
       
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.
---------------------------------------------------------------------
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Today @ 1:13 AM
Points: 323,
Visits: 964
|
|
what is their in Windows Event log ?
----------------------------------------------------------------------------- संकेत कोकणे
|
|
|
|
|
SSC-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.
|
|
|
|
|
SSC-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
|
|
|
|
|
Forum 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
|
|
|
|
|
SSC-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
|
|
|
|
|
Forum 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
|
|
|
|
|
SSC-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
|
|
|
|