Welcome Guest Search | Active Topics | Sign In | Register

EO browser 23.3.4 Options
Varun
Posted: Thursday, August 31, 2023 10:44:26 AM
Rank: Newbie
Groups: Member

Joined: 8/24/2023
Posts: 3
Hi All

When i integrate Envision 4.0.0.0 with EO browser 23.3.4 getting the below console error, could you help?

Quote:
25 Aug 2023 17:08:27,901 [1] FATAL - ExceptionType:MissingMethodException
ErrorMessage: Method not found: 'Void EO.Base.WaitableTask.OnDone(EO.Base.Action, Boolean)'.
Stack Trace:
at FMRCo.EquityPm.Controls.EoWebBrowser.EoJsHost.Navigate()
at FMRCo.EquityPm.Controls.EoWebBrowser.EoWebBrowserControl.Navigate()
at FMRCo.EquityPm.Controls.EoWebBrowser.EoWebBrowserControl.WebAddressPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)


Thanks

eo_support
Posted: Thursday, August 31, 2023 11:53:40 AM
Rank: Administration
Groups: Administration

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

Please try to recompile your code. Older version (before 23.2.21) only have this method:

Code: C#
WaitableTask.OnDone(EO.Base.Action action);


From 23.2.21 this method becomes:

Code: C#
WaitableTask.OnDone(EO.Base.Action action, bool runInSamethread = false);


These two have different signature but is compatible on source level because the second argument has a default value. However binary code compiled with older version won't run directly with newer version without recompiling because these two functions are not the same.

Thanks!
Varun
Posted: Monday, September 4, 2023 9:15:14 AM
Rank: Newbie
Groups: Member

Joined: 8/24/2023
Posts: 3
eo_support wrote:
Hi,

Please try to recompile your code. Older version (before 23.2.21) only have this method:

Code: C#
WaitableTask.OnDone(EO.Base.Action action);


From 23.2.21 this method becomes:

Code: C#
WaitableTask.OnDone(EO.Base.Action action, bool runInSamethread = false);


These two have different signature but is compatible on source level because the second argument has a default value. However binary code compiled with older version won't run directly with newer version without recompiling because these two functions are not the same.

Thanks!



Thanks for the above suggestion :)

I am not able to find the particular file which is mentioned in the line of code which we need to replace. could you specify that as well?
eo_support
Posted: Tuesday, September 5, 2023 9:37:36 AM
Rank: Administration
Groups: Administration

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

The stack trace you posted showing that this function in your code calls our code and throws an exception:

Code: C#
at FMRCo.EquityPm.Controls.EoWebBrowser.EoJsHost.Navigate()


So that's what you need to look for in your code.

Thanks!


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.