You must Sign In to post a response.
  • Category: SQL Server

    Connection String for domain user account

    Hi All,

    I am trying to update the connection string of my project with domain account.
    While replacing userid and password with domain account, it is not working...

    User ID=domain\user;Password=password"

    what should be done to allow domain user account in connection string to SQL Server and what is connection string format?

    Thanks in advance.
  • #768884
    Are you using windows authentication or SQL server authentication ? please elaborate
    if you using windows authentication then you need to accept domain user and password and then generate connection string and keep it in web.config

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • Sign In to post your comments