Windows Service Login Failed when accessing SQL.
From: Evan Camilleri (evan_at_holistic.com.mt.nospam)
Date: 11/02/04
- Next message: Namratha Shah \(Nasha\): "Article : Resource File Generator (Resgen.exe .Net FrameWork Tools Series)"
- Previous message: LisaConsult: "Re: Application Error when starting"
- Next in thread: Sam Santiago: "Re: Windows Service Login Failed when accessing SQL."
- Reply: Sam Santiago: "Re: Windows Service Login Failed when accessing SQL."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 18:30:51 +0100
Windows Service Login Failed when accessing SQL.
I have a problem for a Windows Service to login on an SQL server (different
machine) - neither Windows Authentication nor SQL Authentication worked.
LOGIN FAILED FOR USER sa (for example).
If SQL Server is on the same PC of the Windows Service the connection works
OK.
The same code works in a Windows Form using same user and authentication
methods to the SQL Server on a different machine.
Thanks for any help!
Evan Camilleri
- Next message: Namratha Shah \(Nasha\): "Article : Resource File Generator (Resgen.exe .Net FrameWork Tools Series)"
- Previous message: LisaConsult: "Re: Application Error when starting"
- Next in thread: Sam Santiago: "Re: Windows Service Login Failed when accessing SQL."
- Reply: Sam Santiago: "Re: Windows Service Login Failed when accessing SQL."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|