Sharing a data base in local network VisualBasic.Net

I have created an application using Visual Basic .NET, the application use an access data base which must be shared in server of a local network.

The problem is when i run the application in a client machine (connected to the network) I can't connect to the data base.In the same machine the connection work wich it's not the case when I change the location of the base to: Data Source="serverIPAdress/DataBase.mdb"

Answers


You need to make sure that the location that the database is at is accessible to the entire network. Can you on the client machine open windows explorer and see the database? If so try using that path in the data source.


The first thing to do, is take the path you are placing in your DataSource="YOURPATHHERE" string, and do Start -> Run on the clients machine and paste the path in there. If this opens the Access Database you know you are at least looking in the right place and have access to the file. The other thing you will want to check is that the .mdb file isn't write protected, this will cause a problem. If you are running on a network where you have a central server, I would recommend using SQL Express, or if you need a flat database file SQL Server CE. Either way I would loose the Access DB.


Need Your Help

How to use Dompdf on Phalcon? Why do I get Permission Denied?

phalcon dompdf permission-denied chroot

I'm trying to make Dompdf work on Phalcon, but I'm getting an error at the time of using the $dompdf->load_html_file($html) command, at that point i'm getting the following message: The file could ...

I'm having problems with null pointer exception and JFrames

java swing nullpointerexception jframe

This is my code: there is also a JPanel if you need that but I'm nearly certain that that the JPanel works. The problem I'm having is that my JPanel is not showing up on the JFrame. Thank you very ...