"Access is Denied" when calling a vb.net queued components in Windows2003 from a Web application

From: JPC (acci_at_picchia.com)
Date: 06/21/05

  • Next message: cellbert: "RE: access denied -- cannot debug in VB6"
    Date: Tue, 21 Jun 2005 01:34:48 +0200
    
    

    Hi,
    in my Web application, I 've a C# assembly that call a method of a Queued
    Component

    IMyComponent MyComp = (IMyComponent)
    (Marshal.BindToMoniker("queue:/new:MyAssemblyName.MyClassName"));
    MyComp.MyMethod() ;
    Marshal.ReleaseComObject(MyComp);

    On my XP Pro sp1a machine, the development machine, all is working fine.

    but when I install the Web Application on the Windows2003 Server
    and the QueuedComponent.DLL on the same Windows2003 server, I got an "ACCESS
    IS DENIED" on the line

    IMyComponent MyComp =
    (IMyComponent)(Marshal.BindToMoniker("queue:/new:MyAssemblyName.MyClassName"
    ));

    I installed the components with regsvcs.exe.
    The web application is impersonating the Administrator of the server.
    the User of Server Library where the QueuedComponent.DLL runs , is the
    Administrator of the machine...

    any idea where the security is blocking the access? I tried also to remove
    the check on "Enforce access checks for this application" and also setting
    to None the Authentication Level for Calls, but the error is still here...
    I tried both the Workgroup and the Active Directory configuration for
    Message Queuing.

    The strange thing is that if I try to run the QC from a windows
    application, using the same 3 lines of code above, all is working fine.
    The problem seems to raise when I recall the QC from the Web Application
    assembly.

    any help, or idea?

    thanks for any help
    JPC


  • Next message: cellbert: "RE: access denied -- cannot debug in VB6"

    Relevant Pages

    • Re: Windows 2000 Administrator lockout
      ... as long as a recognized disk controller is present. ... Install the appropriate ... > again and logon as administrator again. ... web too i have try the software to crack the password in one of my w2k server using scisi HD ...
      (Security-Basics)
    • Re: FrontPage Extension
      ... Even though others may not recommend it, I always uninstall the FP 2000 SE before I install the FP 2002 SE ... - In Add/Remove Windows Components select IIS and in details unselect the FP 2000 SE ... Test it by opening FP and your FP 2002 SE server based web using File Open site and entering http://localhost/ ... The administrator program is too old to old to ...
      (microsoft.public.frontpage.extensions.windowsnt)
    • dcdiag - not working
      ... im trying to install exchange 2003 and this is the first time i have ... I have windows server 2000 and i have got past ... bit under Administrative tools and the login administrator is there. ...
      (microsoft.public.exchange2000.connectivity)
    • Re: System Admin
      ... I have a lot of XP computers and many users, which I want to manange to. ... can use the Administrator Tools package to manager computers and users, ... I want to install an software to all of these computers at the ... that I copy the install exe file to a server and shared the files, then, I ...
      (microsoft.public.windows.server.general)
    • Re: System Admin
      ... "Meinolf Weber" wrote: ... Additional you can install software with scripting ... I am doing is that I copy the install exe file to a server and shared ... I want to find out some way to let system Administrator ...
      (microsoft.public.windows.server.general)