Hi,

I have a strange problem on a computer.
I use a program that connects to a database that is located on the server. When I run the program, it can not always find the database and it returns an error. When I open windows explorer and go to the network path I can access it without problems. When I relaunch the program after doing this it can find the database.

I do not have this issue on another PC.
Anyone any ideas how to solve this? I assume a windows networking or settings issue?

I use a program that connects to a database that is located on the serve

Are you connecting to i.e. port 3306 on that server (in the case of MySQL), or are you trying to directly access the DB file (i.e \\server\db\mydatabse.mdb)?

the latter: direct access to ms access file

In that case, it could be a locking issue?

how would that work? How to solve it?
It works after first accessing the folder in explorer, but this obviously shouldn't need to be done

Dont use access? Its not really meant to be used by multiple remote users in this way, that functionality was just hacked on in later versions...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.