I have a WinForms application that I got support over, and it was created using Visual Studio 2005 with VB.Net. The application uses the Access database. It works great when it is installed as a standalone application, but the installation CD for the application also allows you to install the network, and in this I run into problems.
To verify the network installation, I created a folder on my server (Windows Server 2003 Service Pack 2) and copied the Access database to this folder. I created a share for this folder and gave everyone full access to this folder. Then on the workstation I installed the application and gave the database path as follows:
\\ MyServer \ MyShare \ mydb.mdb
(Installation steps are performed in accordance with the instructions on the installation CD)
The workstation on which I installed it is Windows 7 Ultimate. When I launch the application, I get the error message indicated in the header when the application tries to read the database file. I confirmed that I can write to a shared folder on the server, so I don't think this is a permission issue. In addition, the database file is not used at all, so it is definitely not open exclusively. Does anyone know what could be causing this and what can I try to make it work?
UPDATE:
I tested the installation of a workstation on a computer with a fresh installation of Windows XP SP3 and was able to access the database file without any problems. It seems that this error that I am getting is somehow specific to Windows 7. Maybe there is a known problem with Oledb drivers in Windows 7? My version of Windows 7, by the way, is 32 bits.
source share