Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can't add datasource for local SQL Server Express

Community Beginner ,
Feb 20, 2014 Feb 20, 2014

I can't get new datasource to connect to a local SQL Server Express (2008).

On SSE, I enabled non-NTLM authentication, created an account specifically for CFServer, and was able to log into SQL Server through Management Studio. But the datasource still won't connect.

When I enter computerName/SQLServerName for the Server, I get a message saying "...The requested instance is either invalid or not running."

When I enter just SQLServerName, message says "Error establishing socket. Unknown host: SQLServerName."

When I enter (local), I get a message saying "Error establishing socket. Unknown host: (local)"

When I enter 127.0.0.1, message says "Error establishing socket to host and port: 127.0.0.1:1433. Reason: Connection refused: connect"

I don't know why the first is considered invalid, or why the fourth is refusing connection. Am I forgetting something?

574
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Feb 20, 2014 Feb 20, 2014

I found the solution, which doesn't have to do with Coldfusion, but rather with configuring SQL Server for TCP/IP.  In case someone else ever stumbles upon this post with a similar problem, I wrote about it at http://forums.devshed.com/ms-sql-development-95/trying-to-connect-to-sql-server-on-localhost-1433t-958558.html.

Translate
Community Beginner ,
Feb 20, 2014 Feb 20, 2014
LATEST

I found the solution, which doesn't have to do with Coldfusion, but rather with configuring SQL Server for TCP/IP.  In case someone else ever stumbles upon this post with a similar problem, I wrote about it at http://forums.devshed.com/ms-sql-development-95/trying-to-connect-to-sql-server-on-localhost-1433t-9....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources