Mooege sqlite3.dll error using Build 0.1.4293.15139 [Fixed]

Started by crazycabo, October 03, 2011, 08:56:04 AM

Previous topic - Next topic

crazycabo

I just downloaded Build 0.1.4293.15139 and observed the error below while using Mooege both locally and across my server. I fixed the issue by dropping the sqlite3.dll version 3.7.8 into the main folder where you have Mooege on your drive. ;D I did so about 15 minutes ago. The error text is referenced below:
[Fatal] [DBManager]: Connect() - [Exception] System.DllNotFoundException: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_v2(Byte[] utf8Filename, IntPtr& db, Int32 flags, IntPtr vfs)
   at System.Data.SQLite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
   at System.Data.SQLite.SQLiteConnection.Open()
   at Mooege.Core.Common.Storage.DBManager.Connect()
[Debug] [MooNetRouter]:  - [Exception] System.TypeInitializationException: The type initializer for 'Mooege.Core.MooNet.Accounts.AccountManager' threw an exception. ---> System.InvalidOperationException: Database is not open
   at System.Data.SQLite.SQLiteCommand.InitializeForReader()
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader()
   at Mooege.Core.MooNet.Accounts.AccountManager.LoadAccounts()
   at Mooege.Core.MooNet.Accounts.AccountManager..cctor()
   --- End of inner exception stack trace ---
   at Mooege.Core.MooNet.Accounts.AccountManager.GetAccountByEmail(String email)
   at Mooege.Core.MooNet.Services.AuthenticationService.Logon(IRpcController controller, LogonRequest request, Action`1 done)
   at bnet.protocol.authentication.AuthenticationServer.CallMethod(MethodDescriptor method, IRpcController controller, IMessage request, Action`1 done)
   at Mooege.Net.MooNet.MooNetRouter.Identify(IConnection connection, CodedInputStream stream)


Dark-Vegeta

i have the same problem as you had.
i installed sq.lite almost 10 times but its still not working lol. i moved all the dll from sqlite to mooext directory but there's nothing to do. i even tried withthe sqlite3.dll.
i always get stuck at retrieving hero list and when i chek in the console i got this error
[Debug] [MooNetRouter]:  - [Exception] System.TypeInitializationException: The type initializer for 'Mooege.Core.MooNet.Accounts.AccountManager' threw an exception. ---> System.IO.FileNotFoundException: Unable to load 'System.Data.SQLite.dll' or one of its.. The specified module is :
   at Mooege.Core.MooNet.Accounts.AccountManager.LoadAccounts()
   at Mooege.Core.MooNet.Accounts.AccountManager..cctor()
   --- End of inner exception stack trace ---
   at Mooege.Core.MooNet.Accounts.AccountManager.GetAccountByEmail(String email)
   at Mooege.Core.MooNet.Services.AuthenticationService.Logon(IRpcController controller, LogonRequest request, Action`1 done)
   at bnet.protocol.authentication.AuthenticationServer.CallMethod(MethodDescriptor method, IRpcController controller, IMessage request, Action`1 done)
   at Mooege.Net.MooNet.MooNetRouter.Identify(IConnection connection, CodedInputStream stream)


How can i fix that ?

Thanks in advance