Connect SQL Server using windows authentication

Dear All,

its that possible connect to sql server using windows authentication in different PC?

I want create web service that other people can use it.

but i only have 1 windows username.

How that i can connect my web service using that username and my web service can access from the other user?

I have tried this code:

"Database=Banana;Data Source=Minions;Integrated Security=SSPI;"
with this code i only can access with my own computer.

best regards,

Surbakti

July 13th, 2015 3:27am

Hi Surbakti,

This forum is about Visual Studio IDE, as your issue is about how to connect SQL Server using windows authentication, Im afraid it is not related to Visual Studio IDE, it would be related to SQL Server Data Access, I help you move this case to SQL Server Data Access Forum for dedicated support: https://social.technet.microsoft.com/Forums/en-US/home?forum=sqldataaccess

Best Regards,

Jiayi Li

Free Windows Admin Tool Kit Click here and download it now
July 14th, 2015 1:57am

its that possible connect to sql server using windows authentication in different PC?

Hello Surbakti,

Of course this is possible, but only if both machine/logins are member of the same domain or at least of 2 trusted domains.

Which issues are you facing, which error message are you getting?

July 14th, 2015 3:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics