EDN Admin
Well-known member
Dear experts,
We have an application using ODBC connection (Oracle Instant Client 11g). It is working in my developer machine, directly and across remote desktop. It is working in our test machine (a virtual machine, accessed by remote desktop). It is working in our test places, accross remote desktop, admin user or regular user. But if our tester uses the test machine (XP, SP3) directly, it is not working. For regular or admin users, also. Cant load the dll ("specified driver could not be loaded due to system error 1114").
Visiting the application by process monitor (same machine, same user (regular or admin - all the same), directly and remote), the problem is loading ODBC driver dll. The app ask from registry the path of driver dll, loads it, and try to load the dependencies.
I mark with asterisk (*) the same elements in two cases and with exclamation mark (!) the differences:
If the application is ok, across remote desktop:
It: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/833dd974-5c96-4380-92df-84fd47ae140c, LoadLibraryEx(DLL, NULL, LOAD_IGNORE_CODE_AUTHZ_LEVEL) is not help, because I need the dependencies.
It: http://stackoverflow.com/questions/3977732/call-to-loadlibrary-from-atl-com-plug-in is not help, because the dll is found, and then loads it.
The test user is - of course - member of remote desktop group. I checked the security settings in the driver dll, its directory and dependencies, and remote desktop group did not have any special security setting, its members are seem a regular local user or everybody. Buth if we tests with admin user, the situation is the same: it is working across remote desktop and dont directly.
Imre
View the full article
We have an application using ODBC connection (Oracle Instant Client 11g). It is working in my developer machine, directly and across remote desktop. It is working in our test machine (a virtual machine, accessed by remote desktop). It is working in our test places, accross remote desktop, admin user or regular user. But if our tester uses the test machine (XP, SP3) directly, it is not working. For regular or admin users, also. Cant load the dll ("specified driver could not be loaded due to system error 1114").
Visiting the application by process monitor (same machine, same user (regular or admin - all the same), directly and remote), the problem is loading ODBC driver dll. The app ask from registry the path of driver dll, loads it, and try to load the dependencies.
I mark with asterisk (*) the same elements in two cases and with exclamation mark (!) the differences:
If the application is ok, across remote desktop:
- (*) load the driver (Load Image, E:Imreinstantclient_11_2sqora32.dll)
- (!) call may times IRP_MJ_READ - I dont know this operation
- (*) find and load first dependent dll (oci.dll)
- (*) find second dependent dll (OraOCIEI11.dll)
- (!) load it
- (!) and continues the other dependencies
- (!) and returns ok
- (*) Load Image driver dll, but
- (!) IRP_MJ_READs are missing
- (*) find and load first dependent dll
- (*) find second dependent dll
- (!) and did not try to load id. Not failed, didnt try it.
- (!) once more 3 and 4 step
- (!) and returns with error
It: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/833dd974-5c96-4380-92df-84fd47ae140c, LoadLibraryEx(DLL, NULL, LOAD_IGNORE_CODE_AUTHZ_LEVEL) is not help, because I need the dependencies.
It: http://stackoverflow.com/questions/3977732/call-to-loadlibrary-from-atl-com-plug-in is not help, because the dll is found, and then loads it.
The test user is - of course - member of remote desktop group. I checked the security settings in the driver dll, its directory and dependencies, and remote desktop group did not have any special security setting, its members are seem a regular local user or everybody. Buth if we tests with admin user, the situation is the same: it is working across remote desktop and dont directly.
Imre
View the full article