I have trouble connecting my database via another computer. On my server computer, everything works, but if I copy my application to a client I can't connect. (Of course I can start management studio, server configuration)
This is my connection string:
DS_SDF = "IPAddress\someinstance;Network Library=DBMSSOCN;Initial Catalog=somedatabase; User ID=Someuser; Password=Somepassword;"
What I already did:
I checked my server properties
- remote connections are accepted
- TCP/IP is activated
I tried with a port which I added to my windows firewall
I also stopped my firewall, virus scanner, Cisco remote client, while connecting
Because the connection string should work, here my questions:
- How can I see, which port is used?
- Can I check via commandbox from client to server if I can reach the server instance?
- What else can I do, to solve the problem?
- Can it be some network problem? I can connect to my client computer via win explorer.
Here is the error which I get:
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)