How to connect to sql server using windows authentication RRS feed

  • Question

  • I have a client & server. server is my wcf service and client is windows 8 app.

    i want users to connect with windows authentication. My service should communicate with the database using windows authentication too.

    Database is in another domain and i have credentials(system account) to connect to database, but my system(client) credentials are different. now i want to impersonate the request.

    i did impersonation using <identity impersonate="true" username="domain\username" password="password"/>(system account details the account which has access to database) in web.config and authentication mode to windows 

    could you guys please suggest me some ideas.


    • Changed type Olaf HelperMVP Wednesday, February 18, 2015 3:25 PM more a question rather then a discussion
    Wednesday, February 18, 2015 3:12 PM


All replies