My Wisej project show this error when open in IE browser,but Chrome,Firefox work fine.
“Sorry,this browser is not supported.”
my project link in browser http://14.11.0.17:8080/resource.wx/Wisej.Core/NotSupported.html
Can anyone solve this. Thank you very much.
Hi,
The microsoft toolkit bringing it’s own set of limitations & problems, I researched another way and found a working solution using CefSharp.
✔️ Visual Studio 2017.
✔️ Windows 10 Insider Preview Build 17110 or a later release for WebViewControl-based underlying implementation.
✔️ .NET Framework 4.6.2 or a later release.
✔️ Configure your application for high DPI support. To learn how, see this section of the guide
You can install CefSharp Through NUGET
In your code, define a global variable, then after the InitializeComponent(), you can call this custom InitializeChromium() routine.
private void InitializeChromium()
{
CefSettings settings = new CefSettings();
//Initialize Cef with the provided settings
Cef.Initialize(settings);//Create a browser component
ChromeBrowser = new ChromiumWebBrowser(“http://Server/WisejPage”);//Add the browser to the form
this.Controls.Add(ChromeBrowser);
ChromeBrowser.Dock = DockStyle.Fill;
}private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
Cef.Shutdown();
}
There is a video showing all this here
Currently :
– I still have to choose the compile 86/64, anyCPU is showing no Browser,
– Even that formclosing is handled, a Cefprocess is left orphan at program close.
Regards.
Hi Luca,
Nothing is helping, still “Browser not supported”
Then I tried another route, trying to use the Edge Browser by using the Microsoft.toolkit.Forms.UI.Controls.WebView NUGET library 5.0.1, but here I got a new set of problems related to that library
Limiting the solution to Win10 using that library seemed acceptable, but the library isn’t performing at all in my Winform test.
So by now there is no valid solution.
Sorry to come back with bad news.
Regards.
Code is here: https://github.com/iceteagroup/wisej-extensions/blob/master/HostService/Wisej.Application.IE/Browser.cs
It sets WebBrowser to run at the highest version installed on the machine.
In short, you need to add the exe name to the registry before IE is loaded and set the emulation version.
You may find that this is the Winform browser control – its very old. Many javascript based sites will not work in this control. In a similar situation we switched to the Chromium embedded browser which is up to date and resolved all our issues. There are several commercial offerings and open source using CEF.
HTH
Nic
Hello,
I’m trying to display a Wisej Application from a WINFORM containing a standard VStudio WebBrowser component.
The Winform is displaying “Sorry, this browser is not supported”
The winform has been developped on Win10 VS2015 and VS2017, but both are showing the same error.
I tried adding <meta http-equiv=”X-UA-Compatible” content=”IE=11″ /> to the Wisej App default.html without success.
Changing the underlying internet explorer browser setting (through a separate IE instance) doesn’t solve it.
All suggestions are welcome.
Thanks.
Hi Tobias,
yes, see “notSupportedUrl” in default.json
Best regards
Frank
Is there a way to customize/overwrite the default WiseJ page which is displayed if a browser is not supported ?
I want to display my own translated page with a custom logo…
You can also add this to <head> in your Default.html:
<meta http-equiv=”X-UA-Compatible” content=”IE=11″ />
Hi Matteo,
you might want to try to exclude the directory of your Wisej app from the Compatibility View list.
Find some information here:
Best regards
Frank
I have a problem, a customer must necessarily use the site in compatibility mode
with this configuration i have this error:
Sorry,this browser is not supported.
can you help me please?
Hi Terza,
sorry I was reading too fast and missing that it only fails in IE for you.
In that case it is most likely caused by IE running in Compatibility mode.
Please check your IE settings to see if 14.11.0.17 is listed under Sites running in Compatibilty Mode.
If it is, please remove it from there.
See also: https://wisej.com/support/question/object-doesnt-support-property-or-method-addeventlistener
Best regards
Frank
Hi Terza,
thanks for your interest in Wisej.
Can you please provide us with the project link so we can take a look ?
The link you have posted is the link to the static error page that is shown.
Thanks in advance !
Best regard
Frank
Please login first to submit.