Web Connection
loading webconnect in vfp as com object
Gravatar is a globally recognized avatar based on your email address. loading webconnect in vfp as com object
  Michael Hogan (Ideate Hosting)
  All
  Aug 13, 2017 @ 07:21pm

The docs say that loading your webconnect application object from VFP can help debug startup problems.

How do I do that? Do you just use createobject with the progid?

Gravatar is a globally recognized avatar based on your email address. re: loading webconnect in vfp as com object
  Michael Hogan (Ideate Hosting)
  Michael Hogan (Ideate Hosting)
  Aug 13, 2017 @ 07:27pm

Yes, that appears to be it. I'm having a devil of a time debugging an 0x80004005 'unspecified error' after updating to 5.72

Seems to be working OK in file mode.

Gravatar is a globally recognized avatar based on your email address. re: loading webconnect in vfp as com object
  Rick Strahl
  Michael Hogan (Ideate Hosting)
  Aug 14, 2017 @ 11:03am

Add trace debugging.

Or you might consider upgrading to 6.15 - the new startup changes should make debugging startup failures of COM servers much easier assuming the COM server is at least instantiating (ie. it isn't a DCOM permissions issue).

I think the error indicates the COM Server is failing during initialization - ie. it's never returning from the server's INIT() either due to different permissions or some othre slight behavior change while running under COM. Keep in mind that the COM server will run under the IIS Application Pool permissions while file based will run under Interactive user rights (if you're launching manually).

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: loading webconnect in vfp as com object
  Rick Strahl
  Michael Hogan (Ideate Hosting)
  Aug 15, 2017 @ 10:18am

FWIW, I think the 0005 error is an Access Denied error. Check your permissions on the COM server as passed through from the Application Pool. If not System or an elevated account you may have to use DCOMCnfg to set the Access and Launch permissions (make sure to use the 32 bit version of DCOMCnfg).

+++ Rick ---

© 1996-2017