重新安装了7.0版本后出现 服务端无法启动;
设计端运行当前工程后,在登录用户时候的时候提示失败;
设计端用户管理器(http://localhost:26751/ManagementPage/UsersList)无法访问;
运行日志
- ForguncyUserServiceConsole Information: 0 : Start Trace for ForguncyUserServiceConsole commandline :"D:\Program Files\ForguncyServer\Website\bin\ForguncyUserServiceConsole.dll" http://JasonPC:22345/UserService ..\..\Forguncy.UserService2 4992 75052a9b-ce7d-4fc4-8e6d-35c4fff0209f
- Tid:1 2022/5/2 20:54:21: ForguncyServer Starting:=> ["http://JasonPC:22345/UserService","..\\..\\Forguncy.UserService2","4992","75052a9b-ce7d-4fc4-8e6d-35c4fff0209f"]
- Tid:1 2022/5/2 20:54:21: Current InstallLang: cn
- Tid:1 2022/5/2 20:54:21: ResourceHelper.Init:cn
- Tid:1 2022/5/2 20:54:21: ForguncyUserServiceConsole Starting: http://JasonPC:22345/UserService
- Tid:1 2022/5/2 20:54:21: x86 SQLite.Interop.dll is exist :False
- Tid:1 2022/5/2 20:54:21: x64 SQLite.Interop.dll is exist :False
- Tid:1 2022/5/2 20:54:22: ForguncyServer start =>: ["http://localhost:22345/UserService","http://127.0.0.1:22345/UserService","http://JasonPC:22345/UserService","http://*:22345/UserService"]
- Tid:1 2022/5/2 20:54:22: ForguncyServer : SetFireWallRules["http://localhost:22345/UserService","http://127.0.0.1:22345/UserService","http://JasonPC:22345/UserService","http://*:22345/UserService"]
- Tid:1 2022/5/2 20:54:23: Assembly: ForguncyUserServiceConsole, Version=7.0.104.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
- {
- "ClassName": "System.TypeInitializationException",
- "Message": "The type initializer for 'Forguncy.UserService2.ForguncyUserServer' threw an exception.",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "App Name": "0UULFMTU0C5BOJVL3TJMP2QXK4KTP4DC",
- "App Version": "7.0.104.0",
- "Timestamp of the exe": "619ae151",
- "Assembly Name": "CommonUtilities",
- "Version of faulting assembly": "7.0.104.0",
- "Timestamp of faulting module": "61dabe84",
- "MethodDef": "958",
- "IL Offset of faulting instruction": "113",
- "Exception Type": "System.IO.DirectoryNotFound",
- "NIL": ""
- },
- "InnerException": {
- "$type": "System.IO.DirectoryNotFoundException, System.Private.CoreLib",
- "ClassName": "System.IO.DirectoryNotFoundException",
- "Message": "Can't find: D:\\Program Files\\ForguncyData\\ForguncyAPP",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "App Name": "0UULFMTU0C5BOJVL3TJMP2QXK4KTP4DC",
- "App Version": "7.0.104.0",
- "Timestamp of the exe": "619ae151",
- "Assembly Name": "CommonUtilities",
- "Version of faulting assembly": "7.0.104.0",
- "Timestamp of faulting module": "61dabe84",
- "MethodDef": "958",
- "IL Offset of faulting instruction": "113",
- "Exception Type": "System.IO.DirectoryNotFound",
- "NIL": ""
- },
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": " at CommonUtilities.Configuration.GlobalConfigurationManager.GetAppRootFolder()
- at Forguncy.UserService2.DeployApp.get_AppFolder()
- at Forguncy.UserService2.ServerManagerCoreAppManager..ctor()
- at Forguncy.UserService2.ForguncyUserServer..cctor()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147024893,
- "Source": "CommonUtilities",
- "WatsonBuckets": null
- },
- "HelpURL": null,
- "StackTraceString": " at Forguncy.UserService2.ForguncyUserServer.get_ExecutingRoot()
- at Forguncy.UserService2.ForguncyUserServer.MapToExePath(String path)
- at Forguncy.UserService2.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime lifetime)
- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
- at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__2(IApplicationBuilder app)
- at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
- at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
- at ForguncyServerConsole.Program.DoStartServer(String baseAddress, List`1 urls)
- at ForguncyServerConsole.Program.<>c.<StartServer>b__3_0(String baseAddress, List`1 urls)
- at Forguncy.ForguncyServerCommon.ProgramBase.StartServerAction(String baseAddress, Action`2 action)",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146233036,
- "Source": "Forguncy.UserService2",
- "WatsonBuckets": null,
- "TypeName": "Forguncy.UserService2.ForguncyUserServer"
- }
- CurrentMethodName: StartServerAction
- Tid:1 2022/5/2 20:54:23: x86 SQLite.Interop.dll is exist :False
- Tid:1 2022/5/2 20:54:23: x64 SQLite.Interop.dll is exist :False
- Tid:1 2022/5/2 20:54:23: ForguncyServer start =>: ["http://localhost:22345/UserService","http://127.0.0.1:22345/UserService","http://JasonPC:22345/UserService"]
- Tid:1 2022/5/2 20:54:23: ForguncyServer : SetFireWallRules["http://localhost:22345/UserService","http://127.0.0.1:22345/UserService","http://JasonPC:22345/UserService"]
- Tid:1 2022/5/2 20:54:24: ConnectPipe Failed
- Tid:1 2022/5/2 20:54:24: Assembly: ForguncyUserServiceConsole, Version=7.0.104.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
- {
- "ClassName": "System.TimeoutException",
- "Message": "The operation has timed out.",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": " at System.IO.Pipes.NamedPipeClientStream.ConnectInternal(Int32 timeout, CancellationToken cancellationToken, Int32 startTime)
- at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
- at Forguncy.ForguncyServerCommon.ProgramBase.ConnectPipe()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146233083,
- "Source": "System.IO.Pipes",
- "WatsonBuckets": null
- }
- CurrentMethodName: ConnectPipe
- Tid:1 2022/5/2 20:54:24: StartServer ThrowException again
- Tid:1 2022/5/2 20:54:24: http://localhost:22345/UserService
- Tid:1 2022/5/2 20:54:24: http://127.0.0.1:22345/UserService
- Tid:1 2022/5/2 20:54:24: http://JasonPC:22345/UserService
- Tid:1 2022/5/2 20:54:24: Assembly: ForguncyUserServiceConsole, Version=7.0.104.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
- {
- "ClassName": "System.TypeInitializationException",
- "Message": "The type initializer for 'Forguncy.UserService2.ForguncyUserServer' threw an exception.",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "App Name": "0UULFMTU0C5BOJVL3TJMP2QXK4KTP4DC",
- "App Version": "7.0.104.0",
- "Timestamp of the exe": "619ae151",
- "Assembly Name": "CommonUtilities",
- "Version of faulting assembly": "7.0.104.0",
- "Timestamp of faulting module": "61dabe84",
- "MethodDef": "958",
- "IL Offset of faulting instruction": "113",
- "Exception Type": "System.IO.DirectoryNotFound",
- "NIL": ""
- },
- "InnerException": {
- "$type": "System.IO.DirectoryNotFoundException, System.Private.CoreLib",
- "ClassName": "System.IO.DirectoryNotFoundException",
- "Message": "Can't find: D:\\Program Files\\ForguncyData\\ForguncyAPP",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "App Name": "0UULFMTU0C5BOJVL3TJMP2QXK4KTP4DC",
- "App Version": "7.0.104.0",
- "Timestamp of the exe": "619ae151",
- "Assembly Name": "CommonUtilities",
- "Version of faulting assembly": "7.0.104.0",
- "Timestamp of faulting module": "61dabe84",
- "MethodDef": "958",
- "IL Offset of faulting instruction": "113",
- "Exception Type": "System.IO.DirectoryNotFound",
- "NIL": ""
- },
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": " at CommonUtilities.Configuration.GlobalConfigurationManager.GetAppRootFolder()
- at Forguncy.UserService2.DeployApp.get_AppFolder()
- at Forguncy.UserService2.ServerManagerCoreAppManager..ctor()
- at Forguncy.UserService2.ForguncyUserServer..cctor()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147024893,
- "Source": "CommonUtilities",
- "WatsonBuckets": null
- },
- "HelpURL": null,
- "StackTraceString": " at Forguncy.UserService2.ForguncyUserServer.get_ExecutingRoot()
- at Forguncy.UserService2.ForguncyUserServer.MapToExePath(String path)
- at Forguncy.UserService2.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, IHostApplicationLifetime lifetime)
- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
- at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__2(IApplicationBuilder app)
- at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
- at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
- at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
- at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
- at ForguncyServerConsole.Program.DoStartServer(String baseAddress, List`1 urls)
- at ForguncyServerConsole.Program.<>c.<StartServer>b__3_0(String baseAddress, List`1 urls)
- at Forguncy.ForguncyServerCommon.ProgramBase.StartServerAction(String baseAddress, Action`2 action)",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146233036,
- "Source": "Forguncy.UserService2",
- "WatsonBuckets": null,
- "TypeName": "Forguncy.UserService2.ForguncyUserServer"
- }
- CurrentMethodName: StartServerAction
- Tid:1 2022/5/2 20:54:24: ForguncyUserServiceConsole ..\..\Forguncy.UserService2 is exited
复制代码
|