The problem is that the Identity installed for the application lacks sufficient privileges. This may be for several reasons, but before we get into these issues, let's see where this identity is configured. Open Control Panel, Administrative Tools, and double-click Component Services. Expand COM + Applications, right-click the appropriate application, click Properties and select the Identification tab.
One possible reason is that when setting up an identifier for your application, you simply select a user who does not have access to the DLL, or to a file or system call regarding the DLL.
If Interactive User is set for this identifier, the above error can occur when the user who is currently logged on to the computer is peon or when no one is logged in at all. This is the main reason why this error is never detected during the development process ... the user developing the COM + application and fully controlling the work with the machine is also a user who logs into the system and works as an interactive user.
You must ensure that you are using a local user account with sufficient rights if your DLL requires it. A user who uses a VPN may encounter difficulties because of this.
source share