|
Rank: Newbie Groups: Member
Joined: 7/29/2019 Posts: 3
|
Hi,
We have a application developed in a VSTO which uses the eo webbrowser component. I'm in the progress of setting up a new development machine. On my old machine the webbrowser works without problems but on my new pc it locks the application if a the statement Browser.GetDOMWindow() != null is called. The webpage is not loaded if i set the url by: Browser.Url = "<page>". If i set the url and inspect it immediately it is empty.
On the working environment i see my app starts 2 eowp processes and one of those contains another 2 eowp processes. (almost no cpu activity if the browser isn't used)
On my new pc only those first 2 processes are active and 1 of those is at 11% cpu and steadily increases memory. A testapp made in a windows forms app works as expected. The new pc uses Office 365 and the old Office 2016. But Office 365 and the application do work on other developers machines...
I get no error or exceptions but the browser just locks everything in de vsto (excell or outlook). If i kill the eowp process which uses 11% cpu the application starts responding again (but offcourse my browser isn't usable)
I hope you have some idea's which could help me?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This usually occurs when you have some JavaScript code that falls into infinite loop and never returns. So you can try to check the page you are loading into the WebView, try to comment out block by block and see if you can isolate the problem into specific JavaScript file/code block. If that's the problem, you will need to fix the corresponding JavaScript code in order to avoid such problem.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/29/2019 Posts: 3
|
That doesn't seem to be the problem. If i load https://www.google.com it shows the same problem. Browser.Url = "https://www.google.com"; After setting the Browser.Url i check it immediately and it is empty.
|
|
Rank: Newbie Groups: Member
Joined: 7/29/2019 Posts: 3
|
Update:
The form i have used in a testapp to open a webpage works. I copied this form to a small vsto test app (excel) and tested it in excel. In the vsto the entire app locks again. So i would seems to be affected by office. I just removed and reinstalled office and now the webbrowser component works again in our application.
This could be a solution for others who run into the same problem... :-)
I can continue to use eo webbrowser... thanks for your time!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
OK. Thanks for the update!
|
|