Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Com-server doesn´t work on IIS
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00718345
Message ID:
00718625
Views:
19
Even,

Your suggestion to create a test.exe to see if the server is really up and running did the trick. Starting it immediately revealed a problem with the ini-file I was using. A path was set improperly. On my machine this problem never showed because the ini-file is correct.
I corrected this and the server ´runs like a fox´.

Thanks for your advice!

Ron Brahma

>>I have created a VFP com-server that works like a charm om my own machine. I can call it from VB, webpages and everything works like a charm.
>>Having installed the com-server on a W2000-server I experience a problem. It doesn´t work. I have created a method that exposes the com-server on a webpage so I now it is present and that is can be called. When I call the method to create a report, something is happening but it returns no results at all. I have some logging features but nothing is written into the log. The com-server does not generate any errors (?). I have some problems with determing the problem. I have the webserver running on a user with admin-rights (!) but I still can´t get it to work.
>
>Some things to try:
>- have you installed the VFP runtime on the server?
>- did you copy the .VBR and .TLB files in addition to the DLL or EXE?
>- did you register the COM component?
>
>To test the COM component on the server, create a little test app, then compile it into an EXE and put it on your server. It should instantiate the component, then call some methods to test it. This will let you know (if you are using COMRETURNERROR) what error is happening and if the error is with the component or with the config of the machine. The test app would look something like...
>
>
>oMyObject = CREATEOBJECT("mydll.myclass")
>? oMyObject.CallSomeMethod()
>RELEASE oMyObject
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform