Re: Windows authentication on SQL server
From: Jeff Dillon (jeff_at_removeemergencyreporting.com)
Date: 10/20/04
- Next message: Polaris: "Re: How to load String from one of the string tables"
- Previous message: Bill Thompson: "Re: Fastest way to retrieve bit position within a __int64 (VC++ 6)"
- In reply to: Bonj: "Windows authentication on SQL server"
- Next in thread: Bonj: "Re: Windows authentication on SQL server"
- Reply: Bonj: "Re: Windows authentication on SQL server"
- Reply: Kevin Burton: "Re: Windows authentication on SQL server"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 20 Oct 2004 09:18:42 -0700
Control Panel, Administrative tools, Services. Right click on the SQL
service, and change the login user from System to a domain user account
Jeff
"Bonj" <Bonj@discussions.microsoft.com> wrote in message
news:2324EB8B-0082-4E6A-9095-0F32D0F34FED@microsoft.com...
> Hello
> In making an extended stored proc, I am trying to use a wizard-generated
ATL
> OLEDB consumer class to access data. I've tested this and it works fine
when
> run from a standard windows application.
> When I debug the extended stored proc, it connects fine (it is connecting
to
> a remote SQL server).
> However, when I deploy it to SQL server and run it from SQL when SQL is
> running as a service, then trying to connect using ATL produces "IDispatch
> error #3149", and an ADODB connection just returns the generic 'Access
> violation occurred' error.
> However I think I know why this is: when debugging, it is working fine
> because it is logged in as me, and I can log in with windows
authentication
> to the SQL server on the other machine, but the SYSTEM account can't,
which I
> believe is the cause of why it is failing.
>
> My question is, how can I add the SYSTEM account on my development machine
> to the list of people trusted by the windows authentication of SQL server
on
> the other machine? It's MSDE so I'm an admin on it, so I can do this - if
I
> knew what to do!
>
> Failing this I will create a limited account and hardcode its name into
the
> application, but I'd rather not do this if it's possible with windows
> authentication.
>
> Thanks
>
>
- Next message: Polaris: "Re: How to load String from one of the string tables"
- Previous message: Bill Thompson: "Re: Fastest way to retrieve bit position within a __int64 (VC++ 6)"
- In reply to: Bonj: "Windows authentication on SQL server"
- Next in thread: Bonj: "Re: Windows authentication on SQL server"
- Reply: Bonj: "Re: Windows authentication on SQL server"
- Reply: Kevin Burton: "Re: Windows authentication on SQL server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|