I have 2 C# applications. One web form application with web browser control to navigate to a site, fill up the fields, and submit.

This application is invoked in another c# application (with no ui, a windows service), using the Process()

ProcessStartInfo oInfo = new ProcessStartInfo(sFilePath, sArgs);
oInfo.UseShellExecute = false;
oInfo.RedirectStandardOutput = true;
oInfo.RedirectStandardError = true;
oInfo.RedirectStandardInput = true;
m_oProc.StartInfo = oInfo;
m_oProc.Start();

The windows form application works fine when invoked individually. But when this is called using the process() it always return "Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable"

The arguments passed to the invoked application are properly received and processed. But only the AxWebBrowser1.Navigate(url, ....) is not functioning properly.











Action canceled

Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.




Please try the following:



  • Click the refresh.gif (82 bytes) Refresh button, or try again later.

  • If you have visited this page previously and you want to view what has been stored on your computer, click File, and then click Work Offline.

  • For information about offline browsing with Internet Explorer, click the Help menu, and then click Contents and Index.



Internet Explorer



Note: Due to some issues with the site I am accessing, I have to move away from using HttpWebRequest and do it as a separate web form application.

Regards
Kluivats