SQL CONNECTION STRING
-
when i use oledb connection with following connectionstring, i can connect to SQL SERVER named DOCTOR "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR" but when i use SQLCLIENT.SQLCONNECTION with following string, i cant connect what is missing?:S "Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR"
-
when i use oledb connection with following connectionstring, i can connect to SQL SERVER named DOCTOR "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR" but when i use SQLCLIENT.SQLCONNECTION with following string, i cant connect what is missing?:S "Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR"
greekius@hotmail.com wrote:
i cant connect what is missing?:
A password?
Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog
-
when i use oledb connection with following connectionstring, i can connect to SQL SERVER named DOCTOR "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR" but when i use SQLCLIENT.SQLCONNECTION with following string, i cant connect what is missing?:S "Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR"
DON"T CROSS POST YOUR QUESTIONS :mad:
only two letters away from being an asset
-
when i use oledb connection with following connectionstring, i can connect to SQL SERVER named DOCTOR "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR" but when i use SQLCLIENT.SQLCONNECTION with following string, i cant connect what is missing?:S "Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR"
Hi, I think this will help to u Cstring="Server=;DataBase=DOCTOR;UID=sa;PWD=" Pandian S
-
when i use oledb connection with following connectionstring, i can connect to SQL SERVER named DOCTOR "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR" but when i use SQLCLIENT.SQLCONNECTION with following string, i cant connect what is missing?:S "Persist Security Info=False;User ID=SA;Initial Catalog=LASEREPI;Data Source=DOCTOR"
greekius@hotmail.com wrote:
;User ID=SA;
Your connecting to a database using SA? :eek: That is VERY unsecure! Highly unrecommended. Connection strings http://www.connectionstrings.com/[^]
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley: