Search code examples
vb6runtime-error

Visual Basic 6 - Runtime Error 75 - Path/File Access Error


We have an enterprise VB6 application, this application require access to many shared resources. For testing purposes of new added functionality we have released a new version, then we set permissions to the users that will be testing the new functionality. In short we have prepare the scenario for the application test/validation to succeed.

When trying to run the application in some user's PC using some development user account we succeed, but when we try to access to the same executable with the user account we receive a runtime Error 75 - Path/File Access Error.

Some ideas about the origin of such error? all the ideas will be appreciate.

Note: It is important to say that developers and users both are in the same intra-net and also in the same network domain.


Solution

  • If you don't want to debug it, you could watch it with a tool like Process Monitor and just see the last accessed file system object. It most likely tries to access or do something the user account doesn't have or where there are insufficient rights. Its almost impossible to get the exact reason just from the error message (as the error number is more generic and will popup for different ressources or file operations).