Hi,
The database on MS-Access is kept on one machine and i have to access it from another machine.. I have given the following connection string on the client machine. But still it is not accessible.
I have shared to Databse folder with full permissions...
But, still it is not accessible.. so what can i do.
public static string con = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\192.168.1.90\D:\Hospital Managment System\Database\HospitalMgt.mdb";
Regards,
Shailaja
Connection string for database connection in LAN
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Roei BarRank #1,271 · 1.4K reputationPosted Oct 12, 2009, 1:32 AM EDT
Roei BarRank #1,271 · 1.4K reputationPosted Oct 12, 2009, 1:06 AM EDT
in order to be able to do what you need you will need to create a shared folder grant permissions to it
and add that folder as a mapped drive
then you can put that folder in the connection string, and this will work
highly recommend to relocate to SQL Express, much better in performance, maintenance and Lan Connectivity
Shailaja Mohite17 reputationPosted Oct 12, 2009, 1:20 AM EDT
I Give permission to database folder
how to add that folder as a mapped drive
Shailaja Mohite17 reputationPosted Oct 12, 2009, 2:10 AM EDT