Twib Posted April 12, 2020 Posted April 12, 2020 Imagine being that desperate to own an RP server that you hand over $300 to a complete stranger. It's crazy...
xAiiiimx Posted April 12, 2020 Posted April 12, 2020 -> Error starting 'empire' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.AggregateException: One or more errors occurred. (Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:3306) ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:3306 at void System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at bool System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(object result, MultipleAddressConnectAsyncResult context) at bool System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(object result, MultipleAddressConnectAsyncResult context) at void System.Net.Sockets.Socket.MultipleAddressConnectCallback(IAsyncResult result) at void System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at void System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at Task System.Net.Sockets.TcpClient.ConnectAsync(string host, int port)+(IAsyncResult asyncResult) => { } [1] at void System.Threading.Tasks.TaskFactory<TResult>.FromAsyncCoreLogic(IAsyncResult iar, Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, Task<TResult> promise, bool requiresSynchronization) --- End of inner exception stack trace --- at void System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions) at bool System.Threading.Tasks.Task.Wait(int millisecondsTimeout, CancellationToken cancellationToken) at Stream MySql.Data.Common.StreamCreator.GetTcpStream(MySqlConnectionStringBuilder settings) at void MySql.Data.MySqlClient.NativeDriver.Open() --- End of inner exception stack trace --- at void MySql.Data.MySqlClient.NativeDriver.Open() at void MySql.Data.MySqlClient.Driver.Open() at Driver MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at void MySql.Data.MySqlClient.MySqlConnection.Open() at void BusinessManage.BusinessInit() in C:\Users\Administrador\Documentos\RAGEMP Server\GT-RP\bridge\resources\empire\business\BusinessManage.cs:line 165 at void Main.OnResourceStart() in C:\Users\Administrador\Documentos\RAGEMP Server\GT-RP\bridge\resources\empire\Main.cs:line 501 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent)
Xbeimo Posted April 13, 2020 Posted April 13, 2020 (edited) > Error starting empire System Reflecti on. TargetInvocati onException: Exception has been thrown by the target of an invocation. ---> MySq1. Data. MySq1C1i ent. MySq1Exception: The host localhost does not support SSL connecti ons. at void MySq1. Data. MySq1C1i ent. NativeDriver. OpenO at void MySq1. Data. MySq1C1i ent. Driver.0pen0 at Driver MySq1. Data. MySq1Client. Driver. Create (MySq1Connecti onStringBui lder settings)at void MySq1. Data. MySq1C1i ent. MySq1Connecti on.0pen0 at void BusinessManage. BusinessInitO in 😄 Users mi ke_ Documents Project Skazi Project Skazi bri dge resources empirebusiness BusinessManage. cs :1ine 168 at void Main. OnResourceStartO in 😄 Users mi ke_ Documents Project Skazi Project Skazi bri dge resources empire Main. s:1ine 545 End of inner exception stack trace at System Runti meMethodHandle. Inv okeMethod(0bject target, 0bject[] arguments, Si gnature sig, Boolean constructor)at System Reflecti 2 minutes ago, Xbeimo said: How can I solve this problem? Edited April 13, 2020 by Xbeimo
Xbeimo Posted April 13, 2020 Posted April 13, 2020 On 2020/4/12 at AM12点00分, debu99 said: 意,去年我们在中国将这个版 > Error starting empire System Reflecti on. TargetInvocati onException: Exception has been thrown by the target of an invocation. ---> MySq1. Data. MySq1C1i ent. MySq1Exception: The host localhost does not support SSL connecti ons. at void MySq1. Data. MySq1C1i ent. NativeDriver. OpenO at void MySq1. Data. MySq1C1i ent. Driver.0pen0 at Driver MySq1. Data. MySq1Client. Driver. Create (MySq1Connecti onStringBui lder settings)at void MySq1. Data. MySq1C1i ent. MySq1Connecti on.0pen0 at void BusinessManage. BusinessInitO in 😄 Users mi ke_ Documents Project Skazi Project Skazi bri dge resources empirebusiness BusinessManage. cs :1ine 168 at void Main. OnResourceStartO in 😄 Users mi ke_ Documents Project Skazi Project Skazi bri dge resources empire Main. s:1ine 545 End of inner exception stack trace at System Runti meMethodHandle. Inv okeMethod(0bject target, 0bject[] arguments, Si gnature sig, Boolean constructor)at System Reflecti How can I solve this problem? This question has been bothering me for a long time
kielerboy Posted April 13, 2020 Posted April 13, 2020 vor 4 Stunden schrieb Xbeimo: > Error starting empire System Reflecti on. TargetInvocati onException: Exception has been thrown by the target of an invocation. ---> MySq1. Data. MySq1C1i ent. MySq1Exception: The host localhost does not support SSL connecti ons. at void MySq1. Data. MySq1C1i ent. NativeDriver. OpenO at void MySq1. Data. MySq1C1i ent. Driver.0pen0 at Driver MySq1. Data. MySq1Client. Driver. Create (MySq1Connecti onStringBui lder settings)at void MySq1. Data. MySq1C1i ent. MySq1Connecti on.0pen0 at void BusinessManage. BusinessInitO in 😄 Users mi ke_ Documents Project Skazi Project Skazi bri dge resources empirebusiness BusinessManage. cs :1ine 168 at void Main. OnResourceStartO in 😄 Users mi ke_ Documents Project Skazi Project Skazi bri dge resources empire Main. s:1ine 545 End of inner exception stack trace at System Runti meMethodHandle. Inv okeMethod(0bject target, 0bject[] arguments, Si gnature sig, Boolean constructor)at System Reflecti How can I solve this problem? This question has been bothering me for a long time change ssl mode to ;SSL Mode=none on connection string on main.cs 1
DEXBYTE Posted April 14, 2020 Posted April 14, 2020 Цитата -> Error starting 'empire' System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: Input string was not in a correct format. at float Number.ParseSingle(string value, NumberStyles options, NumberFormatInfo numfmt) at void BusinessManage.BusinessInit() in C:\RAGEMP\server-files\bridge\resources\empire\business\BusinessManage.cs:line 192 at void Main.OnResourceStart() in C:\RAGEMP\server-files\bridge\resources\empire\Main.cs:line 500 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at GTANetworkInternals.ScriptingEngine.InvokeVoidMethod(String method, Object[] args) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.EventHandler.ParseEx(Event _event, ScriptingEngine engine, Object[] arguments) at System.Collections.Generic.List`1.ForEach(Action`1 action) at GTANetworkInternals.GameServer.StartResource(String resourceName, String parent) please tell me how to fix this
xiaohao Posted April 14, 2020 Posted April 14, 2020 (edited) Oh, how to solve my error has been bothering me for 2 days ,No matter what I do, it's a mistake. There is no problem with my database connection password and account. I changed the connection database account and password in main.cs. Why is that still the case? How to solve this:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> MySql.Data.MySqlClient.MySqlException: Authentication to host 'localhost' for user 'root' using method Edited April 14, 2020 by xiaohao
DEXBYTE Posted April 14, 2020 Posted April 14, 2020 39 минут назад, xiaohao сказал: О, как решить мою ошибку, беспокоит меня в течение 2 дней , Независимо от того, что я делаю, это ошибка. Там нет проблем с моим паролем подключения к базе данных и учетной записи. Я изменил учетную запись базы данных подключения и пароль в main.cs. Почему это все еще так? Как решить эту проблему : System.Reflection.TargetInvocationException: Исключение было сгенерировано целью вызова. ---> MySql.Data.MySqlClient.MySqlException: аутентификация на хосте «localhost» для пользователя «root» с использованием метода after changing the data, did you compile the dll?
xiaohao Posted April 16, 2020 Posted April 16, 2020 (edited) On 4/14/2020 at 10:26 PM, DEXBYTE said: 更改数据后,您是否编译了dll? How to compile DLL files? I can't find the compiled DLL. Where is it😵 Edited April 16, 2020 by xiaohao
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now