Access is denied

From: Leoni (taghi_leoni_at_yahoo.dk)
Date: 06/25/03


Date: Wed, 25 Jun 2003 07:17:28 -0700


Hi there,

I have IIS running locally on my machine. I have developed
an in process dll extention to IIS, where whitin I call
CoCreateInstance to get an COM interface. I try this for
several interfaces, all of them work except one, which
CoCreateInstance() fails with 0x80070005 (Access is
denied). Is any body there who can help me out.

Thanks in advance
Rgds
T. Leoni



Relevant Pages

  • Re: ATL Service & InitializeSecurity
    ... client, you have a COM registration problem. ... > CoCreateInstance() to get an interface from it. ... >> Microsoft MVP, MCSD ...
    (microsoft.public.vc.atl)
  • Re: creating an ATL COM service
    ... cocreateinstance() was successful. ... COM service and implemented an interface with an addnumbersmethod. ... creating a client. ... the header file of the com dll and i also defined some GUID's. ...
    (microsoft.public.vc.atl)
  • Re: type safe issue
    ... STDAPI CoCreateInstance( ... LPVOID * ppv ... Define a template class smart pointer IComPtr<T, IID* iid>, where ... T is type of interface to wrap, iid is its related interface IID; ...
    (microsoft.public.vc.language)
  • Re: about casting
    ... So I don't define any C-tor for Handle_DS I use the default C-tor. ... I never use this CoCreateInstance below for my new class Handle_DS. ... as public and in the idl file where the IHandle_DS is defined I have ... So when I try to access fields in the Interface IHandle_DS it will cause ...
    (microsoft.public.vc.mfc)
  • Re: A puzzling question
    ... >> satisfy any IUnknown calls locally. ... > Well, on a call to CoCreateInstance, you specify the interface you ...
    (microsoft.public.vc.atl)