View Full Version : connection to db from the localhost
ganeshnilgris
02-27-2010, 01:55 AM
i have the site hosted on the discountasp . I have created some new files
and need to test before i upload the files to the site. I have specified the connectionstring using tcp . Problem is i am not able to connect to the db
dmitri
02-27-2010, 10:49 AM
What is the connection string you are using and what is the exact error message you are getting?
ganeshnilgris
02-28-2010, 03:51 AM
i resolved the problem. for any one who is thinking of the problem
here is the solution
1.<add name="ConnectionString2" connectionString="Data Source=tcp:<server name from your serviceprovider>;Initial Catalog=dbname;User ID=userid;Password=password />
this helps u to connect to your remote server from localhost
Thanks for following up on that.
vBulletin® ©Jelsoft Enterprises Ltd.