标题: smobilerserver启动第二个应用失败 [打印本页] 作者: dibaozhongwei 时间: 2023-3-14 08:40 标题: smobilerserver启动第二个应用失败 2023/03/13 11:04:05 [SmobilerProcess8269_RunSingleProcess] Init:listenval=60 MaxMemory=0 IsHidden=False
2023/03/13 11:04:05 [SmobilerProcess-EX] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Smobiler.Core.MobileServer.set_StartUpForm(Type Value)
--- 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 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at Smobiler.Service.Process.SmoProcessDomain.Start(Dictionary`2 dataModel)
at Smobiler.Service.Process.Program.Main(String[] args)
C:\Program Files (x86)\Smobiler Service\server\Config\AppSettings\8269.appsetting
Try `SmobilerProcess --help' for more information.
2023/03/13 11:04:06 [SmobilerProcess8269_RunSingleProcess_While_Ex] System.Exception: Process HasExited with code 0
at KfZfIn3fR2RRjQjc3I.g2TmXOvfOhw5TB4ipY.ISUXDZ7rUf()
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_While_Finally server status True deamon status False
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] Begin Leap......
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] Leap Sucessful.....
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_Finally server status True deamon status False
恩恩,这个问题解决了,但又出现了新的错误
2023/03/14 10:00:47 [SmobilerProcess-EX] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at ..()
at Smobiler.Core.MobileServer.(Boolean )
at Smobiler.Core.MobileServer.StartServer()
--- 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 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Smobiler.Service.Process.SmoProcessDomain.Start(Dictionary`2 dataModel)
at Smobiler.Service.Process.Program.Main(String[] args)
C:\Program Files (x86)\Smobiler Service\server\Config\AppSettings\8269.appsetting
Try `SmobilerProcess --help' for more information.
2023/03/14 10:00:47 [SmobilerProcess8269_RunSingleProcess_While_Ex] System.Exception: Process HasExited with code 0
at KfZfIn3fR2RRjQjc3I.g2TmXOvfOhw5TB4ipY.ISUXDZ7rUf()
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_While_Finally server status True deamon status False
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] Begin Leap......
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] Leap Sucessful.....
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_Finally server status True deamon status False 作者: dibaozhongwei 时间: 2023-3-14 10:10
知道这个是什么意思,解决了,谢谢