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

From: Stan (nospam_at_yahoo.com)
Date: 07/26/05

  • Next message: jeffpriz_at_yahoo.com: "trouble w/ Forms Auth and domain cookies"
    Date: Tue, 26 Jul 2005 15:43:13 -0400
    
    

    Make sure the client runs under a domain account. Local account will always
    give "Access denied" error message even if Authentication is set to None

    "JPC" <acci@picchia.com> wrote in message
    news:d97jt4$6vp$1@domitilla.aioe.org...
    > 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: jeffpriz_at_yahoo.com: "trouble w/ Forms Auth and domain cookies"

    Relevant Pages

    • Re: Standalone IIS Server prompts for authentication when using Domain Anon User Acct
      ... its just the> IIS server is not part of this domain. ... I know that it is using the> domain account because after authenticating through the Windows ... My problem is why does a Windows Authentication window come> up in the first place? ... > Since the AD user has no rights on the standalone machine,> How am I able to access this standalone web server without> authenticating to it first? ...
      (microsoft.public.inetserver.iis.security)
    • Re: OWA 2004 Force DomainUser
      ... We access OWA through an ISA 2004 server which is configured for forms based ... "Log On" button, we receive no error message, the fields are just erased. ... > If you use forms-based authentication you can edit the ASP script that ...
      (microsoft.public.exchange.admin)
    • Re: Share access problem using VPN
      ... prompted to enter a username and a password. ... I have added WINS to the Cleint and Server and enabled this. ... Another version is "Alex's" work around is logon as another domain account ... > The full error message is interesting because it says to you the problem is ...
      (microsoft.public.windows.server.networking)
    • Re: Cannot send messages with outlook 2007
      ... My current settings are exactly as per what you wrote but the problem ... I get error 550 when "SMTP requires authentication" is ticked. ... I get error message: ... According to Orange, the POP server is pop.orangehome.co.uk, the SMTP server ...
      (microsoft.public.outlook.installation)
    • Re: Standalone IIS Server prompts for authentication when using Domain Anon User Acct
      ... when you try to access the filesvr, you are authentication yourself to the ... IIS will not know where to contact the DC, ... > What if I explicitly say user@domain.com and provide the correct> password for that Domain account? ... Can't it go off do a lookup on> domain.com find the IP addresses of the Active Directory servers> and then authenticate against those> servers? ...
      (microsoft.public.inetserver.iis.security)