Re: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

From: Steve Thompson (stevethompson_at_nomail.please)
Date: 10/06/04


Date: Wed, 6 Oct 2004 11:41:08 -0400

Hi Prashant,

Can we keep this to 1 thread? I believe you have posted to 3 separate
messages in 3 different newsgroups, see my reply in *.clients.

Steve
"Prashant" <barnwal_p@hotmail.com> wrote in message
news:OJXLfV5qEHA.3416@TK2MSFTNGP15.phx.gbl...
> Hi,
> I removed TCP/IP and faced enumerable problems. however I can give yu more
> insight, what is happening whenever I run util.exe as a standalone
> application its running under the logged in user account but if it is run
by
> Setup.exe, it runs under system account, that is causing the problem with
> the connection. can you suggest what to do next? how to impersonate so
that
> it runs under logged in user Account?
>
> Thanks,
> Prashant
>
> "Steve Thompson" <stevethompson@nomail.please> wrote in message
> news:#vE4tciqEHA.708@tk2msftngp13.phx.gbl...
> > "Prashant" <barnwal_p@hotmail.com> wrote in message
> > news:%23aGwm5EqEHA.3324@TK2MSFTNGP15.phx.gbl...
> > > I have a windows setup program (framework 1.1), this setup
> > > program calls one util.exe with parameters. util.exe opens the
> connection
> > > (SQL Server 2000, windows authentication only) and does some db
> > updations.
> > > when i run thru setup exe fails throwing
> > > "Login failed for user '(null)'. Reason: Not associated with a trusted
> SQL
> > > Server connection" error. if i run the exe separately thru command
line
> > > argument, it executes properly.
> > > To add to this, problem only comes with Windows 2003 domain, not with
> > > windows 2000 domain.
> > >
> > > does anyone has any idea whats happening behind the scene?
> >
> > This seems to pop up a lot, what happens if you remove the SQL Server
> > network library TCP/IP? (Make sure that Named Pipes is still enabled on
> both
> > client and server).
> >
> > Steve
> >
> >
>
>



Relevant Pages

  • Re: Having to pay for sbs 2003 r2
    ... Steve typed: ... I wonder what percentage of SBS 2003 buyers actually also got SA? ... I'm not going to bother for my existing clients. ... that's it for free upgrades. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS2003 Standard and Premium SP1
    ... >> dozen different clients that are running standard and premium versions ... >> Can one Premium CD be used on another Premium installation? ... > supply a CD set to each SBS owner. ... > Steve Foster ...
    (microsoft.public.windows.server.sbs)
  • Re: Round Robin RIS
    ... as best I can tell it would have the same limitation in regard to load ... balancing i.e. it would not be able to load balance RIS clients by ... > that can direct your PXE clients to a particular PXE server, ... > Steve Marfisi ...
    (microsoft.public.win2000.setup_deployment)
  • Re: Inventory is missing clients
    ... Steve ... I am running inventory on the ... Its seems to work on 80% of the other clients. ... I know the sms client is ...
    (microsoft.public.sms.inventory)