Hi guys,
Got a question for anyone who can help.
I have deployed an application I created in VB.NET on a client's PC. The application accesses a local Access database file. Everything works fine.
When I move the locally stored Access DB file to a shared network drive, and update the appropriate connection strings in my app to reflect this change, the app will crash when it runs the next time with the usual Microsoft Send Error Report dialog box appearing. It gives you a memory dump and a System Unauthorized Access error message.
The shared network drive has full read-write properties enabled for the appropriate user.
However, the trouble is that once it crashes, even if you change the connection strings and move the Access file back locally, whenever you try to run it from then on it still refuses to work and crashes. Uninstalling and reinstalling the app bears no results. The only way I have found to get it to work again is by going into the appropriate user's Local Settings folder and renaming or deleting the local configuration files.
Is there a setting or a permission I need to set to get it to work on the shared network drive? Do I need to alter settings in the .NET framework? If so, what do I need to change and where do I need to change it? While on my development PC in Administrative Tools there is a 1.1 .NET framework configuration link and 2.0 .NET framework configuration link, on my client's PC where I deployed the app there is only a 1.1 .NET framework config link, even though .NET 2.0 is installed. Examining the link on my development PC, I discover that it points to a file in ProgramFiles\MSVisualStudio8, as compared to the 1.1 .NET config link which points to Windows\Microsoft.NET\Framework. So how do I configure 2.0 .NET framework if I don't have Visual Studio installed on that machine?
I know I've rambled on long enough and I've probably bored you guys, but any help would be greatly appreciated. Thanx.
Regards, Alex.
Got a question for anyone who can help.
I have deployed an application I created in VB.NET on a client's PC. The application accesses a local Access database file. Everything works fine.
When I move the locally stored Access DB file to a shared network drive, and update the appropriate connection strings in my app to reflect this change, the app will crash when it runs the next time with the usual Microsoft Send Error Report dialog box appearing. It gives you a memory dump and a System Unauthorized Access error message.
The shared network drive has full read-write properties enabled for the appropriate user.
However, the trouble is that once it crashes, even if you change the connection strings and move the Access file back locally, whenever you try to run it from then on it still refuses to work and crashes. Uninstalling and reinstalling the app bears no results. The only way I have found to get it to work again is by going into the appropriate user's Local Settings folder and renaming or deleting the local configuration files.
Is there a setting or a permission I need to set to get it to work on the shared network drive? Do I need to alter settings in the .NET framework? If so, what do I need to change and where do I need to change it? While on my development PC in Administrative Tools there is a 1.1 .NET framework configuration link and 2.0 .NET framework configuration link, on my client's PC where I deployed the app there is only a 1.1 .NET framework config link, even though .NET 2.0 is installed. Examining the link on my development PC, I discover that it points to a file in ProgramFiles\MSVisualStudio8, as compared to the 1.1 .NET config link which points to Windows\Microsoft.NET\Framework. So how do I configure 2.0 .NET framework if I don't have Visual Studio installed on that machine?
I know I've rambled on long enough and I've probably bored you guys, but any help would be greatly appreciated. Thanx.
Regards, Alex.