开发者

vb.net database application does not work on user machine if database is password protected

开发者 https://www.devze.com 2023-02-05 14:54 出处:网络
In vb.net I am using password protected database with following connection string connetionString = \"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\vai\\vaiDB.mdb;Jet OLEDB:Database Password=s开发

In vb.net I am using password protected database with following connection string

connetionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\vai\vaiDB.mdb;Jet OLEDB:Database Password=s开发者_如何转开发ecret;"

Database access works fine on the development machine.

But when i copy the exe and the database file on the user machine


If your DB is in the right location, what error message are you getting?


Opening an Access database (.MDB) creates a temporary .LDB file in the same directory. Does the user logged in to the target PC have write permissions to directory C:\vai\?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号