----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
I thank you, G.L. Grobe, for your reply to my question. But my ODBC datasource
was already setup correctly, but I have finally tracked down the real reason
which I want to share with all of you.
I ran Apache as a service under Win NT 4.0, apparently making it impossible to
access an ODBC datasource through JDBC, even if you make it a system database.
So I eventually tried to run Apache from the console, and voil� everything
suddenly worked perfectly.
Am I correct that you cannot use JDBC:ODBC when Apache runs as a NT service?
"G.L. Grobe" wrote:
> ----- Original Message -----
> From: "Java Apache Users" <[EMAIL PROTECTED]>
> To: "G.L. Grobe" <[EMAIL PROTECTED]>
> Sent: Saturday, March 04, 2000 6:17 AM
> Subject: Re: Problems with JDBC:ODBC
>
> > >Lars, don't know if you've recv'd a response yet but, I believe this is
> > due
> > >to not setting up a data source in the control panel.
> > >Start->Settings->Control Panel->ODBC Data Source, then you'll have to
> > >configure one from there.
> > >
> > >
> > >----- Original Message -----
> > >From: "Lars Fastrup" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Friday, March 03, 2000 5:00 PM
> > >Subject: Problems with JDBC:ODBC
> > >
> > >
> > >>
> > >>
> > >> > ----------
> > >> > From: Lars Fastrup[SMTP:[EMAIL PROTECTED]]
> > >> > Sent: Friday, March 03, 2000 11:00:34 AM
> > >> > To: [EMAIL PROTECTED]
> > >> > Subject: Problems with JDBC:ODBC
> > >> > Auto forwarded by a Rule
> > >> >
> > >> ----------------------------------------------------------------
> > >> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > >> WHEN YOU POST, include all relevant version numbers, log files,
> > >> and configuration files. Don't make us guess your problem!!!
> > >> ----------------------------------------------------------------
> > >>
> > >> Hi,
> > >>
> > >> do I have to do something special to get JDBC working with the ODBC
> > >> driver for MS Access on a WinNT 4 platform?
> > >>
> > >> I keep getting the following error when I try to open the DB connection
> > >> from my Java program with DriverManager.getConnection
> > >>
> > >> [Microsoft] [ODBC Driver Manager] Data source name not found and no
> > >> default driver specified
> > >>
> > >> My DB access bean works just fine when I test it with a standalone app!
> > >> But in the Apache server env. it just won't work, why????
> > >>
> > >> Lars Fastrup
> > >> [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> --------------------------------------------------------------
> >
> > Your message could not be processed because you are not allowed to post
> > messages to the Java Apache Users list.
> >
> > This could be because your From: address is not the same as what you used
> > to subscribe to the list with. Please try changing your From: address to
> > match what you originally subscribed with.
> >
> > For more information, you can contact the list administrator at:
> >
> > Bounces <[EMAIL PROTECTED]>
> >
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]