WhiteHatBox
Share Page
Following(0)
Partner(s)
Igotcha2018

TBP2 - Gecko Initialization error

ReplyThanks 2019/04/24 22:42:56 1 1

Hi,


I just installed V2 for testing purpose (V1 is running well). After setting up a google (google.de) task I want to run it and get:


d1_The Type initializer for "Gecko.GeckoPreferences" raised an Exception or in German "d1_Der Typeninitialisierer für "Gecko.GeckoPreferences" hat eine Ausnahme verursacht".


System is Windows Server 2012.


UPDATE:


Seems to have something to do with Administrator privileges. Although I run the software as admin, I get the following error after clicking "Settings" in a task:

"Load browser DLL file failed, please run it again using administrator rights!".


Your software is in general useful but we had this on some updates already, that your testing sucks. Those kind of errors do not have to happen if you test your software in a user environment instead of your dev environment.

========================================

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.


************** Ausnahmetext **************
System.TypeInitializationException: Der Typeninitialisierer für "Gecko.GeckoPreferences" hat eine Ausnahme verursacht. ---> System.DllNotFoundException: Die DLL "xul": Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden.
bei Gecko.Xpcom.NS_ProfileInit()
bei Gecko.Xpcom.Initialize(String binDirectory)
bei Gecko.Xpcom.Initialize()
bei Gecko.GeckoPreferences..cctor()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Gecko.GeckoPreferences.get_User()
bei ap..ctor(String A_0, String A_1, SearchType A_2)
bei o.?(Object A_0, EventArgs A_1)
bei System.EventHandler.Invoke(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e)
bei DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei DevComponents.DotNetBar.PopupItemControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3324.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
TrafficBotPro-V2
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/TrafficBotPro2/TrafficBotPro-V2.exe.
----------------------------------------
System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3324.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3353.0 built by: NET472REL1LAST_B.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3062.0 built by: NET472REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
DevComponents.DotNetBar2
Assembly-Version: 14.0.0.3.
Win32-Version: 14.0.0.3.
CodeBase: file:///C:/TrafficBotPro2/DevComponents.DotNetBar2.DLL.
----------------------------------------
System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3324.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3324.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3062.0 built by: NET472REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Multilingual
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/TrafficBotPro2/Multilingual.DLL.
----------------------------------------
System.Management
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3062.0 built by: NET472REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll.
----------------------------------------
mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.2558.0 built by: NET471REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
Accessibility
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3062.0 built by: NET472REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.2558.0 built by: NET471REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
WhbPack
Assembly-Version: 1.1.2.8.
Win32-Version: 1.1.2.8.
CodeBase: file:///C:/TrafficBotPro2/WhbPack.EXE.
----------------------------------------
System.xml.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.2558.0 built by: NET471REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Xml.resources.dll.
----------------------------------------
ProxySpiderCore
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/TrafficBotPro2/ProxySpiderCore.DLL.
----------------------------------------
protobuf-net
Assembly-Version: 1.0.0.282.
Win32-Version: 1.0.0.282.
CodeBase: file:///C:/TrafficBotPro2/protobuf-net.DLL.
----------------------------------------
DevComponents.DotNetBar.SuperGrid
Assembly-Version: 14.0.0.3.
Win32-Version: 14.0.0.3.
CodeBase: file:///C:/TrafficBotPro2/DevComponents.DotNetBar.SuperGrid.DLL.
----------------------------------------
System.Data
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3260.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
----------------------------------------
Microsoft.GeneratedCode
Assembly-Version: 1.0.0.0.
Win32-Version: 4.7.3062.0 built by: NET472REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Geckofx-Core
Assembly-Version: 60.0.24.0.
Win32-Version: 60.0.24.0.
CodeBase: file:///C:/TrafficBotPro2/Geckofx-Core.DLL.
----------------------------------------
System.Web
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3282.0 built by: NET472REL1LAST_B.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.
----------------------------------------
System.Numerics
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3062.0 built by: NET472REL1.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
----------------------------------------
System.Data.SQLite
Assembly-Version: 1.0.105.2.
Win32-Version: 1.0.105.2.
CodeBase: file:///C:/TrafficBotPro2/System.Data.SQLite.DLL.
----------------------------------------
System.Transactions
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3221.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll.
----------------------------------------


************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.


Zum Beispiel:


<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>


Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

Igotcha2018
2019/04/26 22:24:00
So answer to this error from your support?
2019/04/29 17:49:03

I have same issue.

Did you get the answer?

Alamgir Hossain
Igotcha2018
2019/04/29 18:37:14
No, still no answer.
Aprilcaicai
2019/04/30 14:01:57

So sorry for the late reply guys.


Here is the solution:

Open the directory file of TrafficBotPro2, then download and install the 2 tips in the read.me file at the end. Then check if your issue can be solved.

Igotcha2018
2019/04/30 15:25:27

The program starts, but throws errors while running.


After doing the update, now I get several errors after clicking on "Settings" in a google Task:


  1. "mozglue.dll" is not found
  2. "C:\Program Files (x86)\xulrunner60.0_x64" (without any further info)
  3. "Path not found error "C:\Program Files (x86)\xulrunner60.0_x64" which is strange because 64-Bit files have nothing to do in x86 directory. And on my 64-Bit system there is only a "C:\Program Files (x86)\xulrunner60.0_x86" directory
  4. "Load browser DLL file failed, please run it again using administrator rights!"

Jolin
2019/04/30 16:27:14

Sorry for the problem

You can restart program and run again.


Igotcha2018
2019/04/30 20:02:05

Na, just tried it again, same error chain as in my previous post still there.


Every time I start the V2, it downloads xulrunner 64 Bit version into C:\Program Files (x86)


If I click settings or run a task the errors occure and the whole directory of xulrunner 64 disappears from C:\Program Files (x86)

Aprilcaicai
2019/05/06 18:37:52

Do you have Skype please?


Please add our Skype live:whitehatbox let's arrange a time to help you check it via remote control directly.


Waiting for your news.

Craig Treisch
2019/05/14 07:17:31
I have the same issue. I tried it on a different box and it worked. It seems like the machine with Firefox 63.0.1 works, but the one with Firefox 66.0.5 gives the error. Also the machine with Firefox 66.0.5 keeps downloading the xulrunner. Both are Windows 10.
<< < 12 > >>
VerifyCode
Advanced Option