Results 1 to 3 of 3

Thread: Registry Permissions for OCX/DLL

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2003
    Posts
    3

    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.

  2. #2
    Addicted Member
    Join Date
    Feb 2003
    Posts
    237
    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

  3. #3
    Addicted Member
    Join Date
    Feb 2003
    Posts
    237
    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
  •  



Click Here to Expand Forum to Full Width