problems with activex component wizard

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problems with activex component wizard

pablo digonzelli-3
Hi,
When I can trying to browse the activex in my system with activex component
wizard I have an error and a wallback who saids that i not have permission
to do that thing. I have W2000 professional and I loguin in with the
administrator profile. I reinstall dolphin but the problem remains. Can
someone help me please?

I transcript the debugger notes
TIA


Pablo
2:39:48 AM, Sunday, September 16, 2001: 'Access is denied. (16r5: Access is
denied.)'
AdvApiLibrary(ExternalLibrary)>>systemError:
RegKey(RegKeyAbstract)>>basicRealize
RegKey(RegKeyAbstract)>>realize
RegKey(RegKeyAbstract)>>asParameter
RegKey(RegKeyAbstract)>>subKeyNamesDo:
RegKey>>keysDo:
RegKey(RegKeyAbstract)>>keysAndValuesDo:
[] in AXTypeLibraryAnalyzer class>>typeLibRegistrations
[] in RegKey(RegKeyAbstract)>>keysAndValuesDo:
RegKey(RegKeyAbstract)>>subKeyNamesDo:
RegKey>>keysDo:
RegKey(RegKeyAbstract)>>keysAndValuesDo:
AXTypeLibraryAnalyzer class>>typeLibRegistrations
AXTypeLibraryPrompter>>refresh
AXTypeLibraryPrompter>>onViewOpened
AXTypeLibraryPrompter(Shell)>>view:
AXTypeLibraryPrompter class(Shell class)>>create:
AXTypeLibraryPrompter class(Presenter class)>>create
AXTypeLibraryPrompter class(Dialog class)>>showModal
AXComponentWizard>>loadTypeLib
Symbol>>forwardTo:
[] in Command>>value
BlockClosure>>ifCurtailed:
BlockClosure>>ensure:
Command>>value
AXComponentWizard(Shell)>>performCommand:
CommandQuery>>perform
DelegatingCommandPolicy(CommandPolicy)>>route:
[] in PushButton(View)>>onCommand:
BlockClosure>>ifCurtailed:
BlockClosure>>ensure:
Cursor>>showWhile:
PushButton(View)>>onCommand:
PushButton>>onActionPerformed
PushButton(View)>>performAction
PushButton>>command:id:
ContainerView(View)>>wmCommand:wParam:lParam:
ContainerView(View)>>dispatchMessage:wParam:lParam:
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
ProcessorScheduler>>callback:evaluate:
InputState>>wndProc:message:wParam:lParam:cookie:
PushButton(ControlView)>>defaultWindowProcessing:wParam:lParam:
PushButton(View)>>defaultWindowProcessing:
PushButton(View)>>onLeftButtonReleased:
PushButton(View)>>wmLButtonUp:wParam:lParam:
PushButton(View)>>dispatchMessage:wParam:lParam:
[] in InputState>>wndProc:message:wParam:lParam:cookie:
BlockClosure>>ifCurtailed:
ProcessorScheduler>>callback:evaluate:


Reply | Threaded
Open this post in threaded view
|

Re: problems with activex component wizard

Blair McGlashan
Pablo

You wrote in message news:9o98p6$as7kf$[hidden email]...
> Hi,
> When I can trying to browse the activex in my system with activex
component

> wizard I have an error and a wallback who saids that i not have permission
> to do that thing. I have W2000 professional and I loguin in with the
> administrator profile. I reinstall dolphin but the problem remains. Can
> someone help me please?
>
> I transcript the debugger notes
> TIA
>
>
> Pablo
> 2:39:48 AM, Sunday, September 16, 2001: 'Access is denied. (16r5: Access
is

> denied.)'
> AdvApiLibrary(ExternalLibrary)>>systemError:
> RegKey(RegKeyAbstract)>>basicRealize
> RegKey(RegKeyAbstract)>>realize
> RegKey(RegKeyAbstract)>>asParameter
> RegKey(RegKeyAbstract)>>subKeyNamesDo:
> RegKey>>keysDo:
> RegKey(RegKeyAbstract)>>keysAndValuesDo:
> [] in AXTypeLibraryAnalyzer class>>typeLibRegistrations
> [] in RegKey(RegKeyAbstract)>>keysAndValuesDo:
> RegKey(RegKeyAbstract)>>subKeyNamesDo:
> RegKey>>keysDo:
> RegKey(RegKeyAbstract)>>keysAndValuesDo:
> AXTypeLibraryAnalyzer class>>typeLibRegistrations
>...

This looks like a permissions problem. My guess would be that your system
has a non-standard security set up for some reason. It seems odd that even
when using the administrator account you don't have read access to the
HKEY_CLASSES_ROOT\TypeLib registry key, but that is the implication of the
error. If you look at the AXTypeLibraryAnalyzer class>>typeLibRegistrations
method you will see that it specifically uses read-only access to the
registry key, and this should be within the permissions of any normal user.
As the administrator (or a power user) you should be able to write to it as
well, although that isn't needed in this case.

In order to investigate further you can:
(a) Using the Debugger check to see which key it was actually trying to open
when the failure occurred (evaluate 'self pathFromRoot')
(b) try opening the above registry key in RegEdit and see what happens. If
it is a permission problem then that should fail as well.
(c) try opening the Project/References dialog in VB (which has to do
something similar).
(d) Run up RegEdt32.exe, which allows you to examine the permissions of the
offending key (RegEdit itself does not). The administrator group should have
the 'Full Control' permission over HKEY_CLASSES_ROOT, which should in turn
be inherited by the TypeLib subkey. On my "standard" Win2k system everyone
has read access to the key, administrators and the system have 'Full
Control', and Power Users have the write to create new subkeys, set values,
etc (i.e. those permissions required to register stuff).

Regards

Blair