Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet Explorer Automation via COM+
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Internet Explorer Automation via COM+
Miscellaneous
Thread ID:
00668234
Message ID:
00668234
Views:
68
Hello everyone,

I am having a problem trying to get an Internet Explorer OLE object working from within a COM .dll on my COM+ server. Here's the snippet of code that is causing the problem:
...
loInternetExplorer = CREATEOBJECT("InternetExplorer.Application")
loInternetExplorer.Navigate(lcSourceFile)

DO WHILE loInternetExplorer.ReadyState <> 4
	*  Some additional code for counting # of iterations
ENDDO
...
The error message that I am getting when I call it as a COM object is:

OLE IDispatch exception code 1426 from dpl.GetFiles dpl.GetFiles: .gethttpfile c:\comobjects\dpl\dpl.prg Error in line 55 OLE error code 0x800706ba: The RPC server is unavailable. 1426..

Line 55 is the DO WHILE line above.

Everything works fine if I run the COM .dll on my pc. It also runs fine if I run the code (as a .prg file) from Foxpro Development on the server. It only fails when running on the server as a COM+ .dll. I have logged into the server as the same user as the COM+ application and configured Internet Explorer so I'm pretty sure is not a user rights issue. Also we use a proxy server and both machines have the MS proxy client installed.

Here is my environment configuration:
On my development pc:
VFP 7 development
Windows 2000 Pro
Internet Explorer 6.0
Microsoft Proxy Client

On the COM+ server
Windows 2000 Server (latest sp's installed)
Internet Explorer 5.5 (sp 2 installed)
Microsoft Proxy Client
VFP 7 development.


Thanks for your help.
Next
Reply
Map
View

Click here to load this message in the networking platform