OK. I created a COM+ application on my server, and registered a VFP (version 8 sp1) DLL on it as a component. I can access this component remotely with CREATEOBJECTEX(), from my development workstation and everyhting works wonderfully.
Now, to register the remote COM+ application on a 2nd workstation, I exported from Component services as a proxy, which created a MSI file to run on the target machine.
Running that fails registration. : "Error registering COM+ application icg." where icg is the application name.
I exported again, this time not as a proxy, same result.
Used regsvr32 from the command window on the target machine and got:
DllRegisterserver failed. Error code 0x80004005"
I used Installshield, marking the dll and tlb files as self-registering. created setup.exe, the error was:
"Resource file version mismatch. Visual FoxPro cannot start."
Ok, I solved this problem temporarily when I wanted to place the COM+ dll on my server, by actually compiling it there. I cannot do that on every target machine. I am at a loss as to how to proceed, at this point. How can I get this thing registered, so it can be called from clients?
Jim Newsom
IT Director, ICG Inc.