Re: Access to Registry Key Denied...

From: Joseph E Shook (JoeShook@DeploymentCentric.com)
Date: 03/22/03

  • Next message: Allen Jones: "AllowPartiallyTrustedCallersAttribute"
    From: "Joseph E Shook" <JoeShook@DeploymentCentric.com>
    Date: Sat, 22 Mar 2003 12:47:16 -0800
    
    

    It sounds like some where in there you are allowing you Serviced Component
    (COM+) to register it's self via dynamic registration. I always use
    manually registeration on Serviced Components for web server deployments
    because of registry access permissions.

    "Marta" <mherbranson@outreach.com> wrote in message
    news:23d601c2efc7$6c6a6e80$a501280a@phx.gbl...
    >
    > After installing .NET runtime on a server, I had problems
    > running COM dll's in COM+. I got the Access to registry
    > key denied. It wasn't until I tried to register a .NET
    > assembly for COM interop that I found what the problem
    > was. The MSDN article 327507 described that
    > HKEY_CLASSES_ROOT/Component Catagories/{62C8FE65-4EBB...}
    > was lacking the necessary security permissions. So I
    > allowed administrators to have read/write access to that
    > key. It solved the problem for my user name (I'm a local
    > admin on the server). I was able to use COM+ component
    > and also register for interop.
    >
    > My problem: Unless a user has admin priviledges on the
    > server they are getting the registry key denied error.
    >
    > I have an asp web application running through IIS. The
    > asp code accesses VB6 COM dll's running in COM+. The VB6
    > dll accesses a .NET COM interop library (this assembly
    > references another .NET assembly running under COM+
    >
    > What a mess huh? Any one else have this problem? Part of
    > the web application uses anonymous user and I'm unable to
    > run it without adding the anonymous user to the
    > administrators group - not good...
    >
    > Thanks in advance,
    > Marta


  • Next message: Allen Jones: "AllowPartiallyTrustedCallersAttribute"

    Relevant Pages

    • Re: You must have administrative credentials to perform this task.
      ... Whenever you create a serviced component it must be registered in the Component Services library. ... you will have to register it manually if it is to be used by normal users. ... "Arshad Khan" wrote in message ... that is there in my Bussiness Logic, its giving the Error that has given below ...
      (microsoft.public.dotnet.framework.component_services)
    • Re: HELP...component service: access denied to registry key
      ... You only need to register a serviced component once. ... right-click in the reference in Project References and set the Copy ... >web client applications that referenced to the dll. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: C# COM in COM+ without using EnterpriseServices
      ... Have you try to register your serviced component using regsvcs tool? ... Interface has these attributes set: ... > GuidAttribute("another guid"), ClassInterface ...
      (microsoft.public.dotnet.distributed_apps)
    • ServicedComponent being invoked is not correctly configured
      ... I have a serviced component that when I try to run in debug mode ... If I register it in COM+ using: ... regsvcs /fc MyComponent.dll ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: computer browser service wont start
      ... I've noticed that dnsApi is sometimes one of the things that starts early before everything it needs is actually working, e.g. the TCP/IP and network stack. ... In the situations I've seen the Event Log entry from dnsApi that you report, the computer did successfully register itself later. ... This assumes that the targetted DNS server can accept Dynamic registrations and the computer doing the dynamic registration is permitted to do so. ...
      (microsoft.public.windows.server.general)