6
I have a legal application running on my local server. I made some changes to it and prepared to publish an approval environment for testing. How we are migrating local banks and servers to a new one data center
, I decided to test the new application already pointing to the bank in the new data center. The point is that now, by changing my Connection string for the new server and database, when running the application in Visual Studio I get the following error:
Erro de Servidor no Aplicativo '/'
Falha no logon do usuário 'integracao'.
Connectionstring
public const string CONNECTION_STRING = @"Data Source=ITVRS-D08;Initial Catalog=Teste; User Id=integracao;Password=integracao;";
public const string DEPLOYMENT_CONNECTION_STRING = @"Data Source=ITVRS-D08;Initial Catalog=Teste; User Id=integracao;Password=integracao;";
Connectionstring of the application that was running locally
public const string CONNECTION_STRING = @"Data Source=ITVRS-r08;Initial Catalog=Integracao; User Id=integracao;Password=integracao;";
public const string DEPLOYMENT_CONNECTION_STRING = @"Data Source=ITVRS-R08;Initial Catalog=Integracao; User Id=integracao;Password=integracao;";
The user 'integration' was created on the new server with the same permissions and such. It’s not a permission issue, I believe, as all permissions have already been granted.
The only difference in the environment is that the local server is SQL Server 2008 and in the new data center is SQL Server 2012.
Does it have anything to do with that? What else can I check to get my application running?
You can log in with this user through SQL Server Management Studio?
– Leonel Sanches da Silva
On any of the servers I soon by windows Authentication
– PFVictor
but I can also log in by this user in SQL @Ciganomorrisonmendez
– PFVictor
I still have the problem...
– PFVictor
In the test with Microsoft SQL Server Management Studio, do you have to enter the remote machine to test? Or can you log in via your local machine? The message returned by the application in Visual Studio does not clarify anything.
– Leonel Sanches da Silva
I tried with another application too and the same thing happens. In the local database I can run normally but changing the connection string to the datacenter with a replica of the database, user and etc gives this error to any user I try
– PFVictor
Yes, the datacenter I only access remotely.
– PFVictor
When you say you can connect via Management Studio, you are connecting with your DBA user ? in the database ? the application user can connect in the remote database with his login and his password ? via management studio ?
– rcaratchuk