|
-
May 11th, 2003, 01:02 PM
#1
Thread Starter
New Member
Registry Permissions for OCX/DLL
I have a stand alone application (VB front end to a Access back end) both residing on a Win 2000 Prof PC that is part of a secure domain. The application had been running fine on a WinNT PC, but now that the PC has been upgraded, when I run the application under and adminstrator all is fine, but when run under a user the application starts to load and then fails with a "Error 70, Permission Denied". In researching I have found that It is more than likely a Registry Security permission. My question is how do I track it to the right OCX/DLL. I use Visual Studio packaging to create the Install CD. Is there a way to set permissions for the entire project? Any help is greatly appreciated.
-
Jun 7th, 2003, 10:47 PM
#2
Addicted Member
I dont know about tracking it to the right ocx dll
but to start install regmon from sysinternals.com
you will be able to see teh exact keys that are being denied
from there you can do a directory search of your source
for the keywords
(assuming that the problem lays in your own dlls and ocxs somewhere either how to tried to open the key [ie ALLACCESS] or if it was in a restricted branch of the registry)
other ocx;s/dlls like system stuff I dont think would throw those errors unless you are using them to access system services type stuff
Free Code, papers, tools, and more
http://sandsprite.com
-
Jun 7th, 2003, 10:48 PM
#3
Addicted Member
and if the registry search does not turn up any denied hits..try filemon from the same place..it could be a access denied on file access
Free Code, papers, tools, and more
http://sandsprite.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|