Hi,
I have just downloaded the latest version of WebKit.NET-0.5-bin-cairo from the website http://webkitdotnet.sourceforge.net/downloads.php and tried to use it but unfortunately, when I run the test
WebKit.NET-0.5-bin-cairo\bin\WebKitBrowserTest.exe no one web page is shown and sometimes I get the following error and the message "Couldn't connect to server".
Of course if I run chrome, or IE they work.
I have also tried to create a new windows application test project as suggested in the Tutorial section but It doesn't load any web page.
I wonder if there is anything I am mistaking.
I hope someone helps me to fix the issue.
Many thanks.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at WebKit.Interop.WebViewClass.stringByEvaluatingJavaScriptFromString(String script)
at WebKit.WebKitBrowser.StringByEvaluatingJavaScriptFromString(String Script)
at WebKitBrowserTest.MainForm.tToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have just downloaded the latest version of WebKit.NET-0.5-bin-cairo from the website http://webkitdotnet.sourceforge.net/downloads.php and tried to use it but unfortunately, when I run the test
WebKit.NET-0.5-bin-cairo\bin\WebKitBrowserTest.exe no one web page is shown and sometimes I get the following error and the message "Couldn't connect to server".
Of course if I run chrome, or IE they work.
I have also tried to create a new windows application test project as suggested in the Tutorial section but It doesn't load any web page.
I wonder if there is anything I am mistaking.
I hope someone helps me to fix the issue.
Many thanks.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at WebKit.Interop.WebViewClass.stringByEvaluatingJavaScriptFromString(String script)
at WebKit.WebKitBrowser.StringByEvaluatingJavaScriptFromString(String Script)
at WebKitBrowserTest.MainForm.tToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3643 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
WebKitBrowserTest
Assembly Version: 0.5.0.0
Win32 Version: 0.5.0.0
CodeBase: file:///C:/Downloads/WebKit.NET-0.5-bin-cairo/WebKit.NET-0.5-bin-cairo/bin/WebKitBrowserTest.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3644 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
WebKitBrowser
Assembly Version: 0.5.0.0
Win32 Version: 0.5.0.0
CodeBase: file:///C:/Downloads/WebKit.NET-0.5-bin-cairo/WebKit.NET-0.5-bin-cairo/bin/WebKitBrowser.DLL
WebKit.Interop
Assembly Version: 533.0.0.0
Win32 Version:
CodeBase: file:///C:/Downloads/WebKit.NET-0.5-bin-cairo/WebKit.NET-0.5-bin-cairo/bin/WebKit.Interop.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.