0

I have a connection string to connect to sql server express 2008

string ConnectionString = @"Server=.\SQLEXPRESS,1433; Network Library=DBMSSOCN; Initial Catalog=mydb; user id=sa; password=12345qwerty";

this works normally but when i want to remote connect using this connection string :

string ConnectionString = @"Server=119.225.128.211\SQLEXPRESS,1433; Network Library=DBMSSOCN; Initial Catalog=mydb; user id=sa; password=12345qwerty";

the connection doesn't work and gives this error : enter image description here

I followed this article http://blogs.msdn.com/b/sqlexpress/archive/2005/05/05/415084.aspx and my firewall is off

Why can't I connect to SQL Server Express remotely?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
ReZa
  • 1,273
  • 2
  • 18
  • 33

1 Answers1

2

This SO article may help you. Remote Connections are not configured by default: Remote connection to SQL Server Express fails

Community
  • 1
  • 1
logixologist
  • 3,694
  • 4
  • 28
  • 46