Welcome Guest Search | Active Topics | Sign In | Register

Calling EO.WebBrowser.LoadUrl causes exception with latest Windows 10 1909 update Options
Julie Allen
Posted: Monday, November 18, 2019 11:57:31 AM
Rank: Newbie
Groups: Member

Joined: 6/26/2017
Posts: 9
Code: C#
Code: C#
We have an Outlook VSTO Addin and use a WebBrowser to display a dashboard.
This was working quite happily with previous Windows 10 updates (1903 and earlier) until last week when the latest Windows 10 1909 update was installed.
Since then on loading the Add-in Dashboard the exception is thrown with the following errors messages:
EO.Base.Runtime_Exception : Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
EO.Base.Runtime_Exception : This WebView either has already been destroyed or is being destroyed.
Are there any known issues with the WebBrowser and the latest Windows update?
eo_support
Posted: Tuesday, November 19, 2019 10:45:14 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

We have not been able to test this yet because non of our system have received 1909 yet. We will test it as soon as we get the update. In the mean time can you handle EO.Base.Runtime.Exception event and then get e.ErrorException's strack trace and post it here?

Thanks!
Julie Allen
Posted: Tuesday, November 19, 2019 11:10:56 AM
Rank: Newbie
Groups: Member

Joined: 6/26/2017
Posts: 9
The Stack Trace is:

This WebView either has already been destroyed or is being destroyed.
at EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2)
at EO.WebBrowser.WebView.a(Exception A_0, Boolean A_1)\r\n at EO.WebBrowser.WebView.p()
at EO.WebBrowser.WebView.a(String A_0, Boolean A_1)\r\n at EO.WebBrowser.WebView.LoadUrl(String url)
at OutlookTime_Add_in.BrowserAgent_EO.set_DashboardURL(String value) in D:\\Mercurial VS 2015\\OutlookTime Add-in Core\\OutlookTime Add-in\\BrowserAgent_EO.cs:line 226
at OutlookTime_Add_in.TimeGridControl.PopulateDashboard(Double totalWeeklyAppointmentsHoursToBeSubmitted, Int32 totalAppointmentsToBeSubmitted, Int32 unpostedOutlookAppointments, Int32 outlookAppointmentsWithNoJob) in D:\\Mercurial VS 2015\\OutlookTime Add-in Core\\OutlookTime Add-in\\TimeGridControl.cs:line 5277"

Thanks
eo_support
Posted: Tuesday, November 19, 2019 11:59:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

What is the stack trace for the first exception "Attempted to read or write protected memory"? That one most likely is the cause of the second one.

Thanks!
Julie Allen
Posted: Tuesday, November 19, 2019 12:57:19 PM
Rank: Newbie
Groups: Member

Joined: 6/26/2017
Posts: 9
A colleague was getting the first exception "Attempted to read or write protected memory" and is no longer getting it.
I'm still getting the second exception "This WebView either has already been destroyed or is being destroyed."

We will monitor the situation, but the second exception is still causing a problem.

Cheers

Julie
eo_support
Posted: Thursday, November 21, 2019 3:47:09 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Do you get this exception every time or just occasionally?
Julie Allen
Posted: Monday, November 25, 2019 5:40:06 AM
Rank: Newbie
Groups: Member

Joined: 6/26/2017
Posts: 9
Every time


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.