E_ACCESSDENIED (HRESULT = 0x80070005) calling an Interoperability Managed code to a COM (vb6)

K

kenshiro2000

Hi,

On my development machine I have installed Visual Studio 2005 and I
have developed a Web Services that exposes a COM (created in VB6)
method. On this machine it is installed only the TLB and the VBR files
that point to the TEST machine where the server MTS exposes the real
COM.

If I run my Web Services form the developer Web Server of VS2005, all
it's ok. I have copied the ASP.NET project files in the virtual
directory of IIS 5.0. For 2 days this WS in IIS environment has worked,
but now when I invoke the WS, the WS return me an error in the
invocation of the Interoperation Class with this error:

E_ACCESSDENIED (HRESULT = 0x80070005)

Very strange problem! in the Visul Studio 2005 all works, why this
problem in IIS? I have checked the DCOM configuration and It seems not
be the problem!

In the directory I have put the Everyone,IUSR_..., ASP user.....but
nothing!

Help!

Ken
 
K

kenshiro2000

Ok I have resolved with the

<identity impersonate="true"/>

in the web.config.


Thanks


Ken


kenshiro2000 ha scritto:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top