I have a server where my app doesn't start in COM mode.... In File mode it works fine. When i try to start in COM mode, it appears in Task manager for a while and then it is closed.
I try to load it in Visual Foxpro with createobject("xxxTest.xxxTestServer") and i have this message "OLE error code 0x80080005: Server execution failed"
The app has always worked fine..... OS: Windows Server 2008
!!!!*! STEP 2
Unregister the COM server and registered it again.
Now the COM server is loaded in foxpro and the status form is shown, bur in Web Connection ISAPI confiuration page i can't see the running server.. andif i try to open my app i have this error
An internal exception occurred in the ISAPI application
Ciao Michele,
Restarted server after step 2?
Yes. Done 10 minutes ago... I saw that every option in the admin page doesn't work.....
Here you can see my exe file that has been loaded, and the admin page waiting.... After a few minutes the exe file is unloaded...
when you see Lock ? -1
and/or Recursion ? 0
, click Recover deadlock
Set as user to execute COM Server the administrator and now it works... The user i used normally was set in group Administrators and doesn't work...
FWIW, the user you set at the IIS application pool level propagates to the COM object is you choose the default "launching user" in DCOMcnfg -- see also https://webconnection.west-wind.com/docs/_4kg0z4g3p.htm