|
Rank: Newbie Groups: Member
Joined: 6/19/2019 Posts: 5
|
Was previously using EO.Total.2018.1.91.0 in a WinForms app and all worked OK.
Tried updating to EO.Total.2019.1.40.0 but got the below exception when setting the webview URL:- Message = This WebView either has already been destroyed or is being destroyed. Source = EO.Base StackTrace = at EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2) at EO.WebBrowser.WebView.p() at EO.WebBrowser.WebView.a(String A_0, Boolean A_1) at EO.WebBrowser.WebView.set_Url(String value) Value = file:///C:\Temp\Layout1.html (file works fine in standard browser and with previous version)
Then tried uninstalling EO.Total.2019.1.40.0 to go back to EO.Total.2018.1.91.0 but got the following exception on start up:- Message = Failed to resolve LoadLibrary. Source = EO.Base StackTrace = at EO.Internal.jq.b.d() at EO.Internal.jq.b.a(bac[] A_0, String A_1, String A_2) at EO.Internal.jq.a(Boolean& A_0, bac[] A_1, String A_2, String A_3) at EO.Internal.jq.a(bac[] A_0, String A_1, String A_2) at EO.Internal.jq.o.c() at EO.Internal.jq.o.f() at EO.Internal.jq.n() at EO.Internal.jq.a(Boolean& A_0, bac[] A_1, String A_2, String A_3) at EO.Internal.jq.a(bac[] A_0, String A_1, String A_2) at EO.Internal.av9.b() at EO.Internal.av9.a(WindowsIdentity A_0) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.Internal.av9.c() at EO.Internal.cs..ctor(WebView A_0) at EO.WebBrowser.WebView.y() at EO.WebBrowser.WebView.a(IntPtr A_0, Boolean A_1) at EO.WinForm.WebViewHost.a(Object A_0)
Help required to try and resolve either issue as my app is now broken.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi, You can try to use the current version and then enable EO worker process and see if it works for you: https://www.essentialobjects.com/doc/common/eowp.aspxThe error message you received for version 18 was caused by a Windows update. We have since changed code to work around that issue so version 19 should no longer has that problem. However the new problem you run into with version 19 maybe caused by our child process has been killed by another third party AntiVirus/security software. That can usually be resolved by enable EO worker process. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/19/2019 Posts: 5
|
Tried the EOWP suggestion, even disabled anti-virus, but I still have the save problem with version 19.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
We are not sure what it is then, does the problem occur only on a specific computer or you can reproduce it on another computer as well?
|
|
Rank: Newbie Groups: Member
Joined: 6/19/2019 Posts: 5
|
I have managed to solve the issue myself when my test app worked when I removed the license key. I was unaware that the key needed to be regenerated to use the new version as I did not see it stated on the download page. It would be helpful if the DLL returned the appropriate error like other 3rd party applications when there is a licensing issue.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Glad to hear that you found out the root cause. By default we will display a dialog box stating "A license key is provided but is not valid for this build or this product" when you used the wrong license key unless you explicitly handle EO.Base.Runtime.Exception event in your code to silence the error. Do you happen to have such code in your project?
|
|
Rank: Newbie Groups: Member
Joined: 6/19/2019 Posts: 5
|
Apart from the auto generated designer code (which has no events), I only have 3 lines of code :- EO.WebBrowser.Runtime.AddLicense(…); EO.Base.Runtime.EnableEOWP = true; webView1.Url = ...;
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Can you download the latest build from our download page (19.1.79) and see if it displays an error message to you if you apply the wrong license key?
|
|
Rank: Newbie Groups: Member
Joined: 6/19/2019 Posts: 5
|
I'm sorry but as I am behind schedule I cannot justify spending anymore time on this (to the powers that be) now that it is working.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Understood. If you run into any other issue please feel free to let us know.
|
|