Using COM Interface with Webservices

D

Delf

Hi,

I'm trying to write a WebService which has to use a COM interface of an
application (C++/Win32).

This application runs under "user mode" on the desktop.
The WebService must use this instance.

In my machine.config, I've written :

<processModel
enable="true"
timeout="Infinite"
idleTimeout="Infinite"
shutdownTimeout="0:00:05"
requestLimit="Infinite"
requestQueueLimit="5000"
restartQueueLimit="10"
memoryLimit="60"
webGarden="false"
cpuMask="0xffffffff"
userName="system" <---
password="AutoGenerate"
logLevel="Errors"
clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect"
comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00"
maxWorkerThreads="20"
maxIoThreads="20"
/>

And into the Web.config :

<identity impersonate="true"/>

It does NOT work : "access denied"
Any help'll be welcome.
 
D

Delf

Delf said:

If I use Apache + aspnet_mod (console mode only) :

Error : Échec de QueryInterface pour l'interface AMEProxy.IAMEClient.
Translation :) "Error on QueryInterface for the AMEProxy.IAMEClien
interface"
 
D

Delf

Delf said:

aspnet_wp and my application run with the save account (test with SYSTEM
and an user account)

I can access to the COM interface via Apache/console but not with IIS.
 

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,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top