FoxInCloud
Problem running app in COM mode
Gravatar is a globally recognized avatar based on your email address. Problem running app in COM mode
  Michele
  All
  Mar 1, 2019 @ 03:27am

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

Gravatar is a globally recognized avatar based on your email address. re: Problem running app in COM mode
  FoxInCloud Support - Thierry N.
  Michele
  Mar 1, 2019 @ 05:08am

Ciao Michele,

Restarted server after step 2?

Gravatar is a globally recognized avatar based on your email address. re: Problem running app in COM mode
  Michele
  FoxInCloud Support - Thierry N.
  Mar 1, 2019 @ 05:20am

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...

Gravatar is a globally recognized avatar based on your email address. re: Problem running app in COM mode
  FoxInCloud Support - Thierry N.
  Michele
  Mar 1, 2019 @ 05:22am

when you see Lock ? -1 and/or Recursion ? 0, click Recover deadlock

Gravatar is a globally recognized avatar based on your email address. re: Problem running app in COM mode
  Michele
  Michele
  Mar 1, 2019 @ 05:26am

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...

Gravatar is a globally recognized avatar based on your email address. re: Problem running app in COM mode
  FoxInCloud Support - Thierry N.
  Michele
  Mar 1, 2019 @ 06:15am

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

© 1996-2019