gujo Posted February 16, 2019 Posted February 16, 2019 (edited) Can someone help me with the mistake? Have tried several things why always this error in the server logs in there. Can it be that Gamemode can not connect with the new MySql Version? https://s17.directupload.net/images/190216/dkzyv4jc.pnghttps://s17.directupload.net/images/190216/fj59xfyv.pnghttps://s17.directupload.net/images/190216/egjioxey.png server_exceptions.txt Spoiler ==================[16.02.2019 09:53:20]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:53:20]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:53:20]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'System.Text.Encoding.CodePages' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:53:20]================== System.IO.FileLoadException: Assembly with same name is already loaded at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) ========================================================= ==================[16.02.2019 09:53:20]================== System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621) ---> System.IO.FileLoadException: Assembly with same name is already loaded at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) at Assembly System.Reflection.Assembly.LoadFrom(string assemblyFile) at Assembly System.Reflection.Assembly.LoadFromResolveHandler(object sender, ResolveEventArgs args) at RuntimeAssembly AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, string assemblyFullName) --- End of inner exception stack trace --- at void WiredPlayers.database.Database.OnResourceStart() --- End of inner exception stack trace --- at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor) at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments) ========================================================= ==================[16.02.2019 09:54:33]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:54:33]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:54:33]================== System.IO.FileLoadException: Assembly with same name is already loaded at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) ========================================================= Edited February 16, 2019 by gujo
Xabi Posted February 16, 2019 Author Posted February 16, 2019 41 minutes ago, gujo said: Can someone help me with the mistake? Have tried several things why always this error in the server logs in there. Can it be that Gamemode can not connect with the new MySql Version? https://s17.directupload.net/images/190216/dkzyv4jc.pnghttps://s17.directupload.net/images/190216/fj59xfyv.pnghttps://s17.directupload.net/images/190216/egjioxey.png server_exceptions.txt Hide contents ==================[16.02.2019 09:53:20]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:53:20]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:53:20]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'System.Text.Encoding.CodePages' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:53:20]================== System.IO.FileLoadException: Assembly with same name is already loaded at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) ========================================================= ==================[16.02.2019 09:53:20]================== System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621) ---> System.IO.FileLoadException: Assembly with same name is already loaded at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) at Assembly System.Reflection.Assembly.LoadFrom(string assemblyFile) at Assembly System.Reflection.Assembly.LoadFromResolveHandler(object sender, ResolveEventArgs args) at RuntimeAssembly AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, string assemblyFullName) --- End of inner exception stack trace --- at void WiredPlayers.database.Database.OnResourceStart() --- End of inner exception stack trace --- at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor) at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments) ========================================================= ==================[16.02.2019 09:54:33]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:54:33]================== System.IO.FileNotFoundException: Could not load the specified file. File name: 'WiredPlayers.resources' at Assembly System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName) ========================================================= ==================[16.02.2019 09:54:33]================== System.IO.FileLoadException: Assembly with same name is already loaded at void System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, string ilPath, string niPath, ObjectHandleOnStack retAssembly) at Assembly System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(string assemblyPath) ========================================================= Why didn't you just follow the guide? Where are you told to modify the XML reader located on Database.cs class?
gujo Posted February 16, 2019 Posted February 16, 2019 (edited) vor 33 Minuten schrieb Xabi: Why didn't you just follow the guide? Where are you told to modify the XML reader located on Database.cs class? Have it changed to the standard. But nevertheless the data base errors are present ==================[16.02.2019 11:14:55]================== System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=8.0.15.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. Das System kann die angegebene Datei nicht finden. at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19 at void WiredPlayers.database.Database.OnResourceStart() in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40 --- End of inner exception stack trace --- at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor) at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments) ========================================================= ==================[16.02.2019 11:15:55]================== System.NullReferenceException: Object reference not set to an instance of an object. at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 244 ========================================================= ==================[16.02.2019 11:15:55]================== System.NullReferenceException: Object reference not set to an instance of an object. at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 244 at void System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state) ========================================================= Edited February 16, 2019 by gujo
BennoVH Posted February 16, 2019 Posted February 16, 2019 Need help ! Problem: When I connect to the server, the server closes. =========================================================
Xabi Posted February 16, 2019 Author Posted February 16, 2019 10 hours ago, gujo said: Have it changed to the standard. But nevertheless the data base errors are present ==================[16.02.2019 11:14:55]================== System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=8.0.15.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'. Das System kann die angegebene Datei nicht finden. at List<BusinessModel> WiredPlayers.database.Database.LoadAllBusiness() at void WiredPlayers.business.Business.LoadDatabaseBusiness() in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\business\Business.cs:line 19 at void WiredPlayers.database.Database.OnResourceStart() in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\database\Database.cs:line 40 --- End of inner exception stack trace --- at object RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor) at object System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(object obj, object[] parameters, object[] arguments) ========================================================= ==================[16.02.2019 11:15:55]================== System.NullReferenceException: Object reference not set to an instance of an object. at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 244 ========================================================= ==================[16.02.2019 11:15:55]================== System.NullReferenceException: Object reference not set to an instance of an object. at void WiredPlayers.globals.Globals.OnMinuteSpent(object unused) in C:\GTA-Rage\server-files\bridge\resources\WiredPlayers\globals\Globals.cs:line 244 at void System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state) ========================================================= Seems you updated the MySQL Nuget... 4 hours ago, BennoVH said: Need help ! Problem: When I connect to the server, the server closes. ========================================================= You gave too much information, thanks.
kersh2018 Posted February 17, 2019 Posted February 17, 2019 when i load into server it says loading scripts then says loaded and nothing happens bare in mind im hosting with zap-hosting maybe i might of done something wrong
Xabi Posted February 17, 2019 Author Posted February 17, 2019 1 hour ago, kersh2018 said: when i load into server it says loading scripts then says loaded and nothing happens bare in mind im hosting with zap-hosting maybe i might of done something wrong Same as multiple didn't, you skipped the step of enabling client-side C# on the guide.
lirola Posted February 17, 2019 Posted February 17, 2019 (edited) @Xabi puedo saber que version usa de MySQL, cuando entro hay un mensaje de pulsa F pero no hacer nada. que puede ser? https://gyazo.com/782a4f595b0f06efb10b9d731cf558fe https://gyazo.com/69bfaf7a99198f77eae431d5b06636d8 Edited February 17, 2019 by lirola estaba mal
Xabi Posted February 17, 2019 Author Posted February 17, 2019 35 minutes ago, lirola said: @Xabi puedo saber que version usa de MySQL, cuando entro hay un mensaje de pulsa F pero no hacer nada. que puede ser? https://gyazo.com/782a4f595b0f06efb10b9d731cf558fe https://gyazo.com/69bfaf7a99198f77eae431d5b06636d8 El error de la segunda captura, no sé que es pero desde luego nada bueno. Aparte, lo que les digo a todos, si no te muestra nada al entrar, no has activado el cliente de C# tal y como pone en la guía.
lirola Posted February 17, 2019 Posted February 17, 2019 @Xabi hay me quedo pillado, en que parte poner en la guia de lo cliente C#
Recommended Posts