Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
hmm, nobody's been saying thanks to me lately.. is it that all my answers are wrong and unhelpful? getting a little demotivated :p anyway, binod, if i'm not mistaken, your local applet (which is downloaded n resides in the individual machine) is trying to resolve your access's data source locally. when it tries to execute the DriverManager.getConnection("jdbc:odbc:[data source name here]"), it tries to look for the data source *locally*, and not remotely. one way of solving the problem is to individually create a data source that links with the remote database in each machine that's going to access the remote server. don't get cheated by the "url" of DriverManager.getConnection(String url) ;) it doesn't mean the complete url, it means "url - a database url of the form jdbc:subprotocol:subname". anybody else got any other solutions? Replies:
|
Sponsored Links
|