Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 3540

Problem connecting to SQL Server 2012 instance using mixed authentication mode

$
0
0

Hey everyone,

The sys admins and DBA at the company I work has setup 3 servers. All are running windows server 2008 R2, one (server A) is running IIS 7 and the others are database servers (server B and Server C) running sql server 2008, with a sql server 2012 instance on each.

The problem I have right now is that the IIS server can connect remotely to one SQL Server 2012 instance on Server B but it can't remotely connect to the 2012 instance on server C.

I've made sure that remote connections and mixed authentication mode are enabled on both database servers. The default instance can be connected to in both cases without any issue. The connection strings I've tested with do work from the machine hosting the SQL Server Instance.

One strange thing I noticed, if I have a windows account on Server A and Server C with the same user name and password, connections work fine, but the server is configured to run in mixed mode so that shouldn't matter.

The error I get when connecting is:

[Win32Exception (0x80004005): Access is denied] [SqlException (0x80131904): 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)]

As I said earlier, Remote connections ARE enabled.

Does anyone have any ideas? Could this be a firewall issue?

Thanks in advance for your help!



Viewing all articles
Browse latest Browse all 3540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>