0
I am trying to connect a bank in my application, which is networked, so I have put the following path:
<connectionStrings>
<add name="smc" connectionString="Data Source=192.168.0.29; Initial Catalog=nomeDoBanco; User=sa; Password=senhaDoBanco" providerName="System.Data.SqlClient" />
</connectionStrings>
error of application:
[Win32exception (0x80004005): Access denied]
[Sqlexception (0x80131904): Instance-specific or network error to establish connection with SQL Server. The server was not found or was not accessible. Check that the instance name is correct and if SQL Server is configured to allow remote connections. (Preview: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
error when I try to access from manager
However, from the bug. Does anyone know if I need to report anything else in Data Source, or if I have to set something up in the bank?
Rafael, which error message, could insert it in the question?
– Leonardo Bonetti
In the environment you are in, you tried to access through Management Studio with the credentials informed and got? Edits the question and includes the error that occurred.
– Caique Romero
I edited the question and put the error, when access by the application, and when I try to access via manager.
– Rafael Passos