This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

Проблема Ошибка в консоли

Mart1n666

Участник портала
26 Апр 2024
4
0
11
-> Error starting 'client'
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Redage.SDK.MySQL' threw an exception.
---> System.BadImageFormatException: Была сделана попытка загрузить программу, имеющую неверный формат. (0x8007000B)
at SQLiteErrorCode System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)
at bool System.Data.SQLite.SQLite3.StaticIsInitialized()
at bool System.Data.SQLite.SQLiteLog.PrivateInitialize(string className)
at void System.Data.SQLite.SQLiteLog.Initialize(string className)
at new System.Data.SQLite.SQLiteConnection(string connectionString, bool parseViaFramework)
at new System.Data.SQLite.SQLiteConnection(string connectionString)
at new System.Data.SQLite.SQLiteConnection()
at new Redage.SDK.Config(string category_) in E:/redage_v2-main/server/dotnet/resources/server/Configuration.cs:line 24
at static Redage.SDK.MySQL() in E:/redage_v2-main/server/dotnet/resources/server/MySQL.cs:line 13
--- End of inner exception stack trace ---
at void Redage.SDK.MySQL.Init() in E:/redage_v2-main/server/dotnet/resources/server/MySQL.cs:line 22
at new NeptuneEvo.Main() in E:/redage_v2-main/server/dotnet/resources/client/Main.cs:line 2590
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at GTANetworkInternals.GameServer.InstantiateScripts(Assembly targetAssembly, String resourceName)+MoveNext()
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)

Started! Waiting for connections..
[DONE] Started resource transfer server at 22006 port.
[DONE] Client-side packages weight: 180.151642 MB (uncompressed: 228.967667 MB).
[INFO] Initializing networking...
[DONE] Networking has been started: (IPv4-only) at 127.0.0.1:22005
[DONE] The server is ready to accept connections.
 

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
1,763
1,305
5
It looks like there is an issue with loading a program with an incorrect format, leading to exceptions in the 'Redage.SDK.MySQL' initialization. The error seems to be related to loading SQLite in your project. You may need to check the SQLite version compatibility and ensure that all dependencies are correctly configured.
 

Vermilion

Мастер
29 Сен 2021
973
750
151
34

kiraz

Специалист
17 Апр 2023
407
135
83
а как это сделать? помоги пожалуйста
 
Реакции: Inoi и Vermilion