Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Distribute VFP COM DLL to Web Server
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00800944
Message ID:
00801276
Views:
14
This is the basic set of files you need to distribute a .VFP. mtdll(See http://fox.wikis.com/wc.dll?Wiki~VFP8RuntimeFiles~VFP for more info): vfp8t.dll,vfp8renu.dll,msvcr70.dll,yourmtdll.dll,yourmtdll.tlb,yourmtdll.vbr.
That should do it everytime. I've also had great success putting these in an InstallShield package and auto-registering. I never had great success Exporting a COM+ .VFP. mtdll package(although I have run successfully in COM+). As a matter of fact, I think I asked Craig about this over a year ago and we never did get it resolved...
>I have done some more investigating. I read a Microsoft KB article that suggested a problem with MDAC. I installed 2.7 SP1 on the web server, and that did not help.
>
>Here is something interesting. I installed IIS on a test workstation, the VFP 8.0 setup.exe from InstallShield Express, and the MTS package. When I did this, it worked on the test workstation. I am thinking that there is a mismatched DLL on the server. Maybe, I should try reinstalling Windows 2000 SP3 on it. Do you have any suggestions? Is there a tool out there to check and see if the server has the right DLL versions?
>
>Thanks for your help!
>Tim
>
>>Did you include the proper VFP runtimes? There are different files for an MTDLL (which you should be using) as opposed to an STDLL.
>>
>>>I have a VFP 8.0 COM DLL that is part of a MTS package in Component Services. I need to install the VFP run-time libraries and the MTS package on the web server. Can someone tell me the Object/Merge modules that I need to select in InstallShield Express to make this work? I currently have the following selected:
>>>
>>>GDI Plus Redist module
>>>Microsoft Visual C++ 7.0 Runtime
>>>Microsoft Visual FoxPro 8 Runtime Libraries
>>>XML 4.0
>>>
>>>To distribute the MTS package, I export the package from Component Services which creates a *.MSI and *.MSI.CAB file. On the web server, I run the setup.exe created by InstallSheild Express and import the MTS package. After installation, I call a method in the COM DLL, and I receive the error "Method '~' of object '~' failed". If I install the full version of VFP 8.0 on the web server, everything works fine. Any ideas?
>>>
>>>Thanks!
>>>Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform