Re: Access denied while trying QI on a DCOM object
From: Craig Lee (craig.lee_at_noetix.com)
Date: 02/28/04
- Previous message: Craig Lee: "Access denied while trying QI on a DCOM object"
- In reply to: Craig Lee: "Access denied while trying QI on a DCOM object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Feb 2004 17:37:37 -0800
I think that I figured it out with the help of a good Google hit (thank
goodness for Google). I was code that was setting the SecurityBlanket on
the interfaces but I wasn't setting it on the IUnknown interface. Thus,
when I did a QI against the first interface, I got an Access Denied error.
cl.
"Craig Lee" <craig.lee@noetix.com> wrote in message
news:O$aKYKZ$DHA.3352@TK2MSFTNGP09.phx.gbl...
> We have a Web Service written in C# that accesses an ATL service via DCOM.
> This all works great when both are on the same machine.
>
> When I move to a two server scenario, I get an Access Denied error.
>
> What is interesting is that I am able to get the Class Factory and then
> create an instance of a COM interface. But I get the Access Denied error
> when I then try and QueryInterface to another interface.
>
> This all worked great under .NET 1.0. Has something changed in 1.1?
>
> Thanks,
>
> cl.
>
>
- Previous message: Craig Lee: "Access denied while trying QI on a DCOM object"
- In reply to: Craig Lee: "Access denied while trying QI on a DCOM object"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]