Question

Photo of Jordan Tekelenburg

0

Stuck at database

sql 2014 express

server 2012

I am gettin this error when i try to install

Could Not Connect The user rockuser could not connect to the server localhost. Error message: 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).

  • Photo of Jordan Tekelenburg

    0

    Yes had to use servername\sqlexpress

    jordan

  • Photo of Jim Michael

    1

    It sounds like your SQL server isn't listening for connections via IP. One quick test is to open a CMD prompt and do 'telnet localhost 1433'... if you don't get a blank "session" and instead get a connection error, your SQL server isn't configured properly for Rock. (Note that you might not have the telnet client installed on your server and that in-and-of itself can cause an error.)

    That said, you'll probably want to open up SQL Server Configuration Manager and drill down to here and make sure TCP/IP is enabled.

    • Ken Roach

      In my web.connectionstrings.config file I think I had to use something like MYPCNAME\SQLEXPRESS instead of localhost.