I tried to connect to a SQL Server database on the internet via an Asp.net application that is on my local system.
The database is on a server with IP x.x.x.x and on the server we have 3 instances of SQL Server 2005: instance1/MSSQL2005 and instance2/MSSQL2005 and instance3/MSSQL2005.
I can't connect with my application to the instance1/sqlserver2005 on the database XXX on this instance !
This its my connection string that didn't work :
<add name="VestaWSEntities"
connectionString="metadata=res://*/DBModel.csdl|res://*/DBModel.ssdl|res://*/DBModel.msl;provider=System.Data.SqlClient;provider connection string="server = x.x.x.x ;Data Source=Instance1\MSSQL2005;Initial Catalog=MyDB ;User ID=sa;Password=123;MultipleActiveResultSets=True""
providerName="System.Data.EntityClient" />