EF - how to use a different doman account for authentication to SQL Server ? RRS feed

  • Question

  • Hello,

    I have a c# program using EF connected to SQL Server with Integrated security =true. The program works ok.

    But if I first  open a VPN connection (in order to get resources in a different domain),I get this error:The login is from an untrusted domain and cannot be used with Windows authentication.

    Is there a way to tell Entity Framework  to use the initial domain account instead of the VPN account?


    Thursday, August 20, 2015 9:49 PM


All replies