RE: ODBC fails from Windows Service in VS.Net 2008
- From: TeeKayZee <TeeKayZee@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Aug 2008 02:33:16 -0700
Thanks, That was it of course. I'd forgotten I'd changed the account on the
VS2003 service 6 months ago.
"Pak-Ming Cheung [MSFT]" wrote:
Just a wild guess:.
Which account is used in the service? If it is AUTHORITY\LocalService, it
may not have sufficient privileges to access the network.
http://msdn.microsoft.com/en-us/library/ms684188(VS.85).aspx
Ming.
MDAC Team, Microsoft.
"TeeKayZee" wrote:
I have a Windows service that I wrote in VB.Net 2003, that talks to an Oracle
database via ODBC. I recompiled it in VB.Net 2008, and this version hangs on
trying to open the ODBC connection. Using Network Monitor running on a test
Oracle server, I can see that it is sending out a broadcast packet every
second or so. Using the same code from a Windows form appliction on the same
PC works: it does not send out a broadcast; it connects to the database right
away. How is the Windows service application different from a Windows forms
application?
Any help greatly appreciated.
- References:
- ODBC fails from Windows Service in VS.Net 2008
- From: TeeKayZee
- RE: ODBC fails from Windows Service in VS.Net 2008
- From: Pak-Ming Cheung [MSFT]
- ODBC fails from Windows Service in VS.Net 2008
- Prev by Date: RE: Unicode ODBC Driver development
- Next by Date: achat zocor suisse achat zocor belgique commande en ligne acquerir acheter zocor us usa soft dans commande achat zocor corpus acheter zocor canada le plus bon marche
- Previous by thread: RE: ODBC fails from Windows Service in VS.Net 2008
- Next by thread: RE: How to have SQL_ERROR returned from RAISERROR within IF-BLOCK
- Index(es):
Relevant Pages
|
Loading