Re: ADO Connection in a Service App

From: Arthur Hoornweg (arthur.hoornweg_at_wanadoo.nl.net)
Date: 11/19/04


Date: Fri, 19 Nov 2004 09:21:08 +0100

Alternatively, he could run the service under a user account.
That's a bit harder to setup, though.

Brian Bushay TeamB wrote:
>>Using and ADO Connection, my service application throws an error: Login failed for user '(null)'.
>
> How are you setting the User in the connectionstring?
>
>>I use the came exact connection string in my application and it works fine. Any ideas?
>>Do services need special access to get to a remote db since they are not logged in as the user?
>
> If they use Windows integrated Security then there is a problem because that
> user isn't the Account the Services uses. If you use an SQL Server Username and
> password there shouldn't be a problem.
>
> --
> Brian Bushay (TeamB)
> Bbushay@NMPLS.com

-- 
Arthur Hoornweg
(please remove the ".net" from my e-mail address.
  I had to take this measure to counteract SPAM
  flooding my mail box)


Relevant Pages

  • Re: Cache Size and AsyncFetch
    ... Brian Bushay TeamB wrote: ... form set with the tables via an ADOConnection. ... Asnyc fetching is incompatible with serverside cursors and also with Delphi data ...
    (borland.public.delphi.database.ado)
  • Re: how to deal with multiple result sets in D6 ADO?
    ... Or do you need to extract data and stuff it into a TStrinGrid ... When you run sp_help in the Query Analyzer, ... Brian Bushay TeamB wrote: ...
    (borland.public.delphi.database.ado)
  • Re: TADOQuery master-details
    ... Brian Bushay TeamB wrote: ... >>My program is to extract athletics results from an access database. ... >>TDataSource - DataSourceAV ...
    (borland.public.delphi.database.ado)
  • Re: TADOQuery master-details
    ... Brian Bushay TeamB wrote: ... >>My program is to extract athletics results from an access database. ... >>TDataSource - DataSourceAV ...
    (borland.public.delphi.database.ado)
  • Re: Simple ADO Test App fails
    ... "Brian Bushay TeamB" wrote in message ... |>Activate components in code and run, get EVariantTypeConvert error ... | from the IDE ...
    (borland.public.delphi.database.ado)