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.
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
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:
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
Replies
Know the answer? Post it — somebody with the same question will find it here.