Hi All,
I am trying to connect the SQL database using Windows service account credential in BCS model code, but i am getting the following error message,
Logon failed for user 'corp\test'
I am using the following connection string to connect the SQL database,
"Data Source=server;Initial Catalog=databasename;Integrated Security=false;uid=corp\test;pwd=test"
If i changed the connection string as shown below format, then my connection gets established successfully and i am able to access the database.
"Data Source=server;Initial Catalog=databasename;Integrated Security=SSPI"
My requirement is, need to access the database using a specific user credential instead of adding the entire user who need to access the database.
Can we able to access the database using windows service account credential? Do we have any other approach to connect the sql database in BCS code? Please suggest your approach on this.
Thanks
Senthil