| | #1 |
| Warrior Member Join Date: 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
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!
|
| |
| | #2 |
| Active Warrior War Room Member Join Date: 2009
Posts: 58
Thanks: 3
Thanked 8 Times in 6 Posts
|
Did you register the com-dll's on the server?
|
| | |
| |
| | #3 |
| Warrior Member Join Date: 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hello! thanks for answer! may be that, how it should have been registered dll's?
|
| |
| | #4 |
| Active Warrior War Room Member Join Date: 2009
Posts: 58
Thanks: 3
Thanked 8 Times in 6 Posts
|
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. |
| | |
| |
| | #5 |
| Warrior Member Join Date: 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
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.
|
| |
| | #6 |
| Active Warrior War Room Member Join Date: 2009
Posts: 58
Thanks: 3
Thanked 8 Times in 6 Posts
|
I might missunderstand you but: You have to register the dll's on the server too.
|
| | |
| |
| | #7 | |
| Warrior Member Join Date: 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
In windows7 register the normal vfp dll, then I add the COM reference to the project, then visual studio create a Interop.nombre.dll, that I can not register into the server. Sorry for my english. | |
| |
| | #8 |
| Active Warrior War Room Member Join Date: 2009
Posts: 58
Thanks: 3
Thanked 8 Times in 6 Posts
|
The interop dll is just a proxy between your code and the actual dll that contains the COM-classes you want to use. VFP in this case.
|
| | |
| |
|
| Bookmarks |
| Tags |
| .net, comexception, comi, dll, error, interop, vfp |
| |