Error COMException

by 7 replies
9
Good evening, I expose my problem, I had to develop a webservice with .NET, i use a VFP dll, in order to use these libraries have had to do it through COM Interop, the was once done in the virtual machine from my visual studio I was going perfectly, but when published to the iis7 I have this error, any ideas? Error: System.Runtime.InteropServices.COMException: Error al recuperar un generador de clases COM para el componente con CLSID {924AFA8A-8762-46F3-BC88-7AE7656DA293} debido al siguiente error: 800401f9. Thank you very much!
#programming #.net #comexception #comi #dll #error #interop #vfp
  • Did you register the com-dll's on the server?
  • Hello! thanks for answer! may be that, how it should have been registered dll's?
    • [2] replies
    • You need to copy VPF.dll and all dll's it needs to the server and then run regsvr32.
      Here's the MS article about it: Explanation of Regsvr32 usage and error messages.

      There might be an installer that contains the redistributable parts of VFP. The easiest way to get your things working is to install that on the server.

      I don't have any experience of running VPF on a server, this is just (very) old COM-experience.
    • Sorry, if I have registered with regsrv32, I explain, develop the project in a windows7 is where I registered the dll, and once I worked in the virtual machine visual studio, picked up the project and put it on the server.
      • [1] reply

Next Topics on Trending Feed

  • 9

    Good evening, I expose my problem, I had to develop a webservice with .NET, i use a VFP dll, in order to use these libraries have had to do it through COM Interop, the was once done in the virtual machine from my visual studio I was going perfectly, but when published to the iis7 I have this error, any ideas? Error: System.Runtime.InteropServices.COMException: Error al recuperar un generador de clases COM para el componente con CLSID {924AFA8A-8762-46F3-BC88-7AE7656DA293} debido al siguiente error: 800401f9. Thank you very much!