Сannot access SQL Server

  • Greetings.
    Please help me to solve my problem with SQL Server 2008. I cannot access it due to the following message cannot connect to localhost. How to recover SQL Server?

    Any help would be appreciated.

  • It's hard to help with so little information.  We don't know where your database is or how you are trying to connect.  So, based on what you did provide, I'd guess your database is on a different server and you are not providing the proper credentials/path to it.   LocalHost means the computer you are logged into. So it is looking for the database on your computer. 

    -SQLBill

  • Hm,
    first check, if sql server services are running. Sometimes the services won't start on server  startup.
    Andreas

  • I want to say thank you for taking the time to share how to go about fixing this.

  • Hm,
    can you tell us, what  the solution was?
    Kind regards,
    Andreas

  • Hello,
    You probably need to set SQL Server to allow "remote" connections. If it useless you can try this app http://www.mssqlserver.repair/ It restores the contents of SQL databases.

  • Jay-B 46467 - Friday, January 27, 2017 1:30 PM

    Hello,
    You probably need to set SQL Server to allow "remote" connections. If it useless you can try this app http://www.mssqlserver.repair/ It restores the contents of SQL databases.

    He was able to fix the problem, two posts above. And why should he allow remote connection, if connection was “localhost“?
    And, why should somebody repair a database on a sql server, where he is not able to connect?
    Kind regards
    Andreas

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply