1

私はWebサービスに取り組んでいます。MSAccess データベースに接続するためのサーバーとクライアントを作成しました。私が書いたサーバーには、例外を与える webmethod があります。

「java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] ファイル '(unknown)' が見つかりませんでした。」

しかし、Java プログラムを実行して MS Access データベースに接続すると、正常に接続されます。何が問題なの?私を助けてください。

4

1 に答える 1

2

Are you using the same user account as used by the web server when running the Java application? If not, then maybe it is a permissions thing, whereby your Java application user has permission to access all the files, but the web server doesn't have all the permissions it needs.

于 2012-10-29T08:47:16.463 に答える