trungcutecute
New member
- Joined
- Nov 2, 2009
- Messages
- 1
- Programming Experience
- 1-3
When connect to sqlserver ,I use that connectionstring:
ConnectionString = "Data source =ITQUANGNT-700AC3;Inital catalog =device_qb;User ID =sa;Password =a;"
then connected successfully.
But when replace "data souce" by IP address as
ConnectionString = "Data source =10.45.193.133,1433;Network Library=DBMSSOCN;
Inital catalog = device_qb;User ID =sa;Password =a;"
then has error "SQL Server does not exist or access denied"
Who know the reason, can show me for help
Thanks!
ConnectionString = "Data source =ITQUANGNT-700AC3;Inital catalog =device_qb;User ID =sa;Password =a;"
then connected successfully.
But when replace "data souce" by IP address as
ConnectionString = "Data source =10.45.193.133,1433;Network Library=DBMSSOCN;
Inital catalog = device_qb;User ID =sa;Password =a;"
then has error "SQL Server does not exist or access denied"
Who know the reason, can show me for help
Thanks!