Richard Bourne

Richard Bourne

  • NA
  • 3
  • 4.4k

C# Web Service using VFP class library - cannot instantiate

Feb 21 2011 11:39 AM
Hi folks,

I'm currently attempting to install a new incarnation of my VFP function library and it's C# web service wrapper onto a new server machine (Windows Server 2008 64bit running IIS7.5) and have encountered some problems when trying to instantiate my object.

I am able to create an instance of it using our "portable" VFP dev environment tool and also access the functionality, however, when the web service tries to instantiate, it returns this error:


Retrieving the COM class factory for component with CLSID {E0BEAA09-0B02-48D8-8145-D333B76C73AA} failed due to the following error: 80040154 *


I've tried changes like making the build configuration "x86" rather than "Any CPU", have tried adding my DLL as a COM+ application (off the back of advice given to other people on various other forums).

I've gone through the registry, found the CLSID given and ensured the permissions for Everyone, System and my user are set to full access.

I'm a little confused as to why I'd be able to create an instance of the object in VFP but not in the web service.

The server has an install of our primary application which is working fine - so all of the dependencies for this library are there already.

Any thoughts from anyone? - much appreciated.

Thanks in advance,

Richard

Answers (1)