November 7, 2013 at 2:38 pm
Can anyone pls help me with this issue
I have the below connection string in my config file but when I open the connection manager I see a blank password for sql authentication though I pass it in my connnection string ..I have seen lot of posts suggesting to change the protection level and the persist security info but it didnt help me ..
Provider=sqloledb;Data Source=22.33.11.197,1000;Network Library=DBMSSOCN;User ID=Domain\FirstName.LastName;Password=xxxxxxxx;Initial Catalog=ftyuas1;Persist Security Info=True;Auto Translate=False;
November 7, 2013 at 5:30 pm
Are you attempting to connect using your Windows domain credentials (user Domain\UserName)? If so, you don't specify user name or password. You just have to set it to use Windows Authentication:
Instead of:
Provider=sqloledb;Data Source=22.33.11.197,1000;Network Library=DBMSSOCN;User ID=Domain\FirstName.LastName;Password=xxxxxxxx;Initial Catalog=ftyuas1;Persist Security Info=True;Auto Translate=False;
Use this:
Provider=sqloledb;Data Source=22.33.11.197,1000;Network Library=DBMSSOCN;Integrated Security=SSPI;Initial Catalog=ftyuas1;Persist Security Info=True;Auto Translate=False;
Eddie Wuerch
MCM: SQL
November 8, 2013 at 7:24 am
Thank You for your reply Eddie . Am not using windows credentials ...access to this server is given with a different domain . Thank You
November 8, 2013 at 7:29 am
ushacheb (11/8/2013)
Thank You for your reply Eddie . Am not using windows credentials ...access to this server is given with a different domain . Thank You
Pretty sure SQL server will not accept/allow a SQL loginwith a slash; that's only allowed for windows based login...in which case you have to use integrated security like Eddie suggested.
so if you are trying to grant access to a domain user form another domain, i think you have to establish a trust between the two domains, or actually create a SQL user to be used in that situation.
Lowell
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply