Error code 105

904 views
Skip to first unread message

Harish Kulkarni

unread,
Apr 3, 2014, 9:20:52 AM4/3/14
to cefs...@googlegroups.com
While launching an URL I am getting  "Error -105 when loading url" .Is there any documentation regarding error codes?What does this error mean?

Thanks!

Jørn Hansen

unread,
Apr 3, 2014, 10:52:05 AM4/3/14
to cefs...@googlegroups.com
I guess it's these error codes  that CefSharp currently returns: http://magpcss.org/ceforum/apidocs3/projects/(default)/cef_errorcode_t.html
Found via the CEF API Docs link on the CEF home page https://code.google.com/p/chromiumembedded/

Does that make sense for the situation you are experiencing?

--
Best regards,
JornH

Kyle McFarland

unread,
Apr 5, 2014, 8:36:22 PM4/5/14
to cefs...@googlegroups.com
Hi Harish,

You will find that cefsharp displays errors directly in the browser window when they occur.  

If you are interested in controlling the look and feel of this error message checkout. Changing the mainviewmodel.browser.loaderror event will change the behavior here.

@mainviewmodel.cs ln: 140
private void OnWebBrowserLoadError(string failedUrl, CefErrorCode errorCode, string errorText)
        {
            // Don't display an error for downloaded files where the user aborted the download.
            if (errorCode == CefErrorCode.Aborted)
                return;

            var errorMessage = "<html><body><h2>Failed to load URL " + failedUrl +
                  " with error " + errorText + " (" + errorCode +
                  ").</h2></body></html>";

            webBrowser.LoadHtml(errorMessage, failedUrl);
        }

Vinicius Oliveira

unread,
Jun 5, 2014, 9:27:37 AM6/5/14
to cefs...@googlegroups.com
I tried use this code... but not work

Alex Maitland

unread,
Jun 5, 2014, 9:42:13 PM6/5/14
to cefs...@googlegroups.com
I've got an update in the works to expand Error Codes and add some descriptions (based on upstream documentation)

You can check it out here https://github.com/amaitland/CefSharp/commit/9e60cd042dee0f1b0fd0cc6cc8382afe2c360a67

Basically 105 is
The host name could not be resolved.
NameNotResolved = -105

,
Reply all
Reply to author
Forward
0 new messages