I am having a strange problem with my WPF desktop application that it cant find a shared folder on a server on the local network.
This problem occurs on 2 machines that I have encountered to date.
The path is to a shared folder as I say on a local server pointing to a folder which contains Visual FoxPro database files ( dbf files )
Within my program I get the value of the path from my app.config file. I then use the path to set up an OLDEB connection to read the data in a dbf file ( visual foxpro table )
I have the path stored as an appsetting in the app config in the following format : \SERVERNAME\sharedFolder
Within my code I retrieve the path value into a variable 'path' and use that value as so : @path
I have also installed the Microsoft Visual FoxPro OLE DB Provider driver.
I installed my program on several windows 7 machines. All of which are part of a workgroup and not a domain. 2 machines out of 5 produce the following exception message " Invalid path or file name. "
UAC settings are the same on all machines also.
On the machines that the error occurs, I can access the shared folder by entering the path ' \SERVERNAME\sharedFolder' in the address bar .. so, the folder is definitely accessible.
I am not sure what else to check if all machines ( as far as I can see ) are set up the same.
Any help would be appreciated.
many thanks in advance