Hi all,
I have tried to connect my sql server 2005 using a domain name. i have bought a domain name and a dns client. this is my connection string
I have added sql browser & sql server in fire wall, and also enabled tcp port 1433 and udp port 1434. the above connection string works perfect when i run it in the server machine, buy when i try to run it on other machines i am getting an error that server is not available or cannot find the specified server..
I desperately need to access my database through an url. ie., through internet..
Help me if you can.. I will loose my job if i fails to do this.. so please anybody help me..
I have tried to connect my sql server 2005 using a domain name. i have bought a domain name and a dns client. this is my connection string
Code:
{ SqlConnection sqlconn = new SqlConnection("user id=user1;" + "password=pass2;" + "server=www.mysite.info\\ServerInstance;" + "trusted_Connection=false;" + "network library=DBMSSOCN;" + "Integrated security=false;" + "initial catalog=Mydatabase;" +"connection timeout=5 ;"); }
I desperately need to access my database through an url. ie., through internet..
Help me if you can.. I will loose my job if i fails to do this.. so please anybody help me..
Comment