ODBC fails from Windows Service in VS.Net 2008



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.
.



Relevant Pages

  • Re: Set up an ODBC connection Programmatically?
    ... the correct DSNless connection string for Oracle? ... Doug Steele, Microsoft Access MVP ... Other people can use this database, ... they have their system ODBC drive set up exactly as mine was when I ...
    (microsoft.public.access.modulesdaovba)
  • RE: Connection error SQLSetConnectAttr failed
    ... I don't think I've ever seen machine and database names be numeric values. ... DSN when you created it. ... | I have an undocumented ODBC driver..Or the supplier at least won't give ... and would prefer to do it via windows service. ...
    (microsoft.public.data.odbc)
  • Re: Please Reply . Its Urgent.
    ... But i'm still not able to connect to Oracle Database either through ODBC ... Oracle in Ora9i and testing the connection) as follows:(recent error ...
    (microsoft.public.vb.database.ado)
  • Re: Problem with numeric blank fields
    ... Oracle 8i and ASA 8.03. ... I checked the ODBC log to find out what ODBC types they were bound to. ... which type of database? ... thing I can think off is to modify the SQL directly in MS Query (i.e. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Connectivity between Oracle and Progress Database
    ... Forse che io mi connetto ad oracle, faccio delle query ed il server stesso ... Una sorta di DBLink utilizzando gli ODBC? ... > am new to progress database. ...
    (comp.databases.oracle.server)

Loading