Unable to log into the database
From: Robert Bravery (me_at_u.com)
Date: 10/01/04
- Previous message: Tark Siala: "size of MS Chart ..."
- Next in thread: Ken Tucker [MVP]: "Re: Unable to log into the database"
- Reply: Ken Tucker [MVP]: "Re: Unable to log into the database"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 1 Oct 2004 09:41:10 +0200
Hi all,
I am using VS.net 2003, and VB. I am new to VB programming.
I am trying to connect to a database on a server on our network. There are
two databases one is Interbase, and the other is MYSQL. Both are being
accessed via odbc. I can open the connections in the server explorer connect
to the databases and view the tables. I can even view and retrieve data in
theserver explorer.
But when I try and connect to the databases in my application, I get an
error message "Unable to log into database", this is with Interbase, and
with mysql i get this errormessage "There were errors configuring the data
adapter."
Whether I try and drag the tables from the server explorer to the form, or
drag a dataadapter and dataconnection, and try and manual configure them, I
get theses error.
Now here is the strange thing. If I set up the databases locally, the
connections work perfectly in my app.
THis leads me to believe that it is a security iss. But I do not know where
to look, or what to look for. THe connection strings, userid, passwords are
exactly the same for both server and local machines. I am unaware of any
other security issue that need changing when designing a app and connecting
to a database.
THanks
Robert
- Previous message: Tark Siala: "size of MS Chart ..."
- Next in thread: Ken Tucker [MVP]: "Re: Unable to log into the database"
- Reply: Ken Tucker [MVP]: "Re: Unable to log into the database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|