Page 1 of 1

DataQuestBuilder

PostPosted: Sun Jul 29, 2012 10:04 am
by Urza
Hello,
I get this error message if I try to start the DataQuestBuilder
Code: Select all
************** Exception Text **************
System.IO.FileLoadException: Could not load file or assembly 'MySql.Data, Version=6.3.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'MySql.Data, Version=6.3.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' ---> System.IO.FileLoadException: Could not load file or assembly 'MySql.Data, Version=6.0.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'MySql.Data, Version=6.0.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

at DataQuestBuilder.DatabaseManager.SetDatabaseConnection(String host, UInt32 port, String database, String user, String password)
at DataQuestBuilder.MainForm.MainForm_Load(Object sender, EventArgs e) in C:\Users\Jürgen Werner\Desktop\DataQuestBuilder Version 3126\MainForm.cs:line 73
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DataQuestBuilder
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/DataQuestBuilder%20Version%203127/bin/Release/DataQuestBuilder.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.
What must I do ?
greetings urza/configuration

Re: DataQuestBuilder

PostPosted: Sun Jul 29, 2012 2:24 pm
by Graveen
Ouch, the application was compiled regarding the GAC of Mattress (and not yours).

Do you have the sources, and sharpdevelop or visual studio ?
Or are you running a binary ?

Re: DataQuestBuilder

PostPosted: Sun Jul 29, 2012 2:39 pm
by Urza
I've commented out the following entry in "app.config"
Code: Select all
publicKeyToken="C5687FC88969C44D"
and now it works.
thanks and greetings
urza

Re: DataQuestBuilder

PostPosted: Sun Jul 29, 2012 3:41 pm
by Graveen
Really ? you can access mysql database ?

Re: DataQuestBuilder

PostPosted: Sun Jul 29, 2012 3:57 pm
by Urza
Yes I have created a Testquest and selected items and mobs from my mysql database.

Re: DataQuestBuilder

PostPosted: Wed Aug 01, 2012 6:44 am
by HunabKu
I tested : actually, it works by removing publicKeyToken="C5687FC88969C44D"

Re: DataQuestBuilder

PostPosted: Wed May 15, 2013 2:57 am
by logix2200
i know this is an old post but i also had the same error and removing that token did fix it aswell

Re: DataQuestBuilder

PostPosted: Tue May 21, 2013 7:37 pm
by logix2200
the same fix worked for me... just out of curiosity why hasnt this fix been commited to the svn? Not trying to be a newb or anything lol. I just noticed that this was an issue almost a year ago.. i just downloaded the stuff and it still has the error

Re: DataQuestBuilder

PostPosted: Thu May 23, 2013 12:35 pm
by Graveen
will put it into 'to fix' list ;)
removing the token is an hack, it should embed its own assembly, or use a generic one.

Re: DataQuestBuilder

PostPosted: Sat Oct 26, 2013 4:07 am
by mattress
Doh, had to google what the heck "GAC" is, I'm digging back into things, I'll try to get it fixed in the near future.

Re: DataQuestBuilder

PostPosted: Sat Oct 26, 2013 7:11 am
by Graveen
Yop Mattress,

I have improved DQBuilder and i'm cirrently regularly working on.

GAC is the global assembly cache.