Error Code

tdk1120 Dec 15th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. `System.Exception
  2.   HResult=0x80131500
  3.   Message=Unable to execute javascript at this time, scripts can only be executed within a V8Context.
  5.     Use the IWebBrowser.CanExecuteJavascriptInMainFrame property to guard against this exception. See for more details on when you can execute javascript. For frames that do not contain Javascript then no V8Context will be created. Executing a script once the frame has loaded it's possible to create a V8Context. You can use browser.GetMainFrame().ExecuteJavaScriptAsync(script) or browser.GetMainFrame().EvaluateScriptAsync to bypass these checks (advanced users only).
  6.       Source=CefSharp
  7.       StackTrace:
  8.        at CefSharp.WebBrowserExtensions.ExecuteScriptAsync(IWebBrowser browser, String script)
  9.        at GAME_ROOM.GameRoom.TrinhDuyetGame(Boolean Isvisible) in E:\NO FREEZE\Compressed\Project C#\GAME ROOM\GAME ROOM\Worm Zone.cs:line 106
  10.        at GAME_ROOM.GameRoom.GameRoom_Load(Object sender, EventArgs e) in E:\NO FREEZE\Compressed\Project C#\GAME ROOM\GAME ROOM\Worm Zone.cs:line 57
  11.        at System.Windows.Forms.Form.OnLoad(EventArgs e)
  12.        at DevExpress.XtraEditors.XtraForm.OnLoad(EventArgs e)
  13.        at System.Windows.Forms.Form.OnCreateControl()
  14.        at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  15.        at System.Windows.Forms.Control.CreateControl()
  16.        at System.Windows.Forms.Control.WmShowWindow(Message& m)
  17.        at System.Windows.Forms.Control.WndProc(Message& m)
  18.        at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  19.        at System.Windows.Forms.Form.WmShowWindow(Message& m)
  20.        at System.Windows.Forms.Form.WndProc(Message& m)
  21.        at DevExpress.XtraEditors.DForm.WndProc(Message& m)
  22.        at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
  23.        at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  24.        at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  25.        at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  26. `
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!