在原有版本上进行升级的,满足条件我把文档粘贴在下边- ForguncyUserServiceConsole Information: 0 : Start Trace for ForguncyUserServiceConsole commandline :"C:\Program Files (x86)\ForguncyServer\Website\bin\ForguncyUserServiceConsole.dll" http://DESKTOP-0CD3A4I:22345/UserService ..\..\Forguncy.UserService2 21348 e7ccffc1-0411-4594-9a73-fc0d2a2e5fcd
- Tid:1 2021/10/8 9:07:04: ForguncyServer Starting:=> ["http://DESKTOP-0CD3A4I:22345/UserService","..\\..\\Forguncy.UserService2","21348","e7ccffc1-0411-4594-9a73-fc0d2a2e5fcd"]
- Tid:1 2021/10/8 9:07:04: Current InstallLang: cn
- Tid:1 2021/10/8 9:07:04: ResourceHelper.Init:cn
- Tid:1 2021/10/8 9:07:04: ForguncyUserServiceConsole Starting: http://DESKTOP-0CD3A4I:22345/UserService
- Tid:1 2021/10/8 9:07:05: x86 SQLite.Interop.dll is exist :True
- Tid:1 2021/10/8 9:07:05: x64 SQLite.Interop.dll is exist :True
- Tid:1 2021/10/8 9:07:57: Assembly: ForguncyUserServiceConsole, Version=7.0.5.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
- {
- "ClassName": "System.AggregateException",
- "Message": "One or more errors occurred.",
- "Data": null,
- "InnerException": {
- "$type": "System.Data.SqlClient.SqlException, System.Data.SqlClient",
- "ClassName": "System.Data.SqlClient.SqlException",
- "Message": "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "HelpLink.ProdName": "Microsoft SQL Server",
- "HelpLink.EvtSrc": "MSSQLServer",
- "HelpLink.EvtID": "53",
- "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
- "HelpLink.LinkId": "20476",
- "SqlError 1": "System.Data.SqlClient.SqlError: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
- },
- "InnerException": {
- "$type": "System.ComponentModel.Win32Exception, Microsoft.Win32.Primitives",
- "ClassName": "System.ComponentModel.Win32Exception",
- "Message": "找不到网络路径。",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": null,
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147467259,
- "Source": null,
- "WatsonBuckets": null,
- "NativeErrorCode": 53
- },
- "HelpURL": null,
- "StackTraceString": " at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
- at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
- at System.Data.SqlClient.SqlConnection.Open()
- at SqlServerWrapper.SqlServer..ctor(String connectionStr)
- at Forguncy.SqlServerDB.a()
- at Forguncy.SqlServerDB.EnsureTableSchema(String tableSchema)
- at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, DataBaseType type)
- at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
- at ServerDesignerCommon.Common.EnsureDatabase.m()
- at ServerDesignerCommon.Common.EnsureDatabase.s()
- at ServerDesignerCommon.Common.EnsureDatabase.EnsureAsync()
- at Forguncy.UserService2.UserServiceDBHelper.EnsureTablesAsync()
- at Forguncy.UserService2.Startup.c()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146232060,
- "Source": "Core .Net SqlClient Data Provider",
- "WatsonBuckets": null,
- "Errors": null,
- "ClientConnectionId": "00000000-0000-0000-0000-000000000000"
- },
- "HelpURL": null,
- "StackTraceString": " at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
- at Forguncy.UserService2.Startup.ConfigureServices(IServiceCollection services)
- 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.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
- at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass12_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
- at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
- at Microsoft.Extensions.Hosting.HostBuilder.Build()
- at Forguncy.ForguncyServerCommon.ProgramBase.DoStartServerAction(String baseAddress, List`1 urls, Action`1 action)
- 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": -2146233088,
- "Source": "System.Private.CoreLib",
- "WatsonBuckets": null,
- "InnerExceptions": {
- "$type": "System.Exception[], System.Private.CoreLib",
- "$values": [
- {
- "$type": "System.Data.SqlClient.SqlException, System.Data.SqlClient",
- "ClassName": "System.Data.SqlClient.SqlException",
- "Message": "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "HelpLink.ProdName": "Microsoft SQL Server",
- "HelpLink.EvtSrc": "MSSQLServer",
- "HelpLink.EvtID": "53",
- "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
- "HelpLink.LinkId": "20476",
- "SqlError 1": "System.Data.SqlClient.SqlError: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
- },
- "InnerException": {
- "$type": "System.ComponentModel.Win32Exception, Microsoft.Win32.Primitives",
- "ClassName": "System.ComponentModel.Win32Exception",
- "Message": "找不到网络路径。",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": null,
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147467259,
- "Source": null,
- "WatsonBuckets": null,
- "NativeErrorCode": 53
- },
- "HelpURL": null,
- "StackTraceString": " at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
- at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
- at System.Data.SqlClient.SqlConnection.Open()
- at SqlServerWrapper.SqlServer..ctor(String connectionStr)
- at Forguncy.SqlServerDB.a()
- at Forguncy.SqlServerDB.EnsureTableSchema(String tableSchema)
- at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, DataBaseType type)
- at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
- at ServerDesignerCommon.Common.EnsureDatabase.m()
- at ServerDesignerCommon.Common.EnsureDatabase.s()
- at ServerDesignerCommon.Common.EnsureDatabase.EnsureAsync()
- at Forguncy.UserService2.UserServiceDBHelper.EnsureTablesAsync()
- at Forguncy.UserService2.Startup.c()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146232060,
- "Source": "Core .Net SqlClient Data Provider",
- "WatsonBuckets": null,
- "Errors": null,
- "ClientConnectionId": "00000000-0000-0000-0000-000000000000"
- }
- ]
- }
- }
- CurrentMethodName: StartServerAction
- Tid:1 2021/10/8 9:07:57: x86 SQLite.Interop.dll is exist :True
- Tid:1 2021/10/8 9:07:57: x64 SQLite.Interop.dll is exist :True
- Tid:1 2021/10/8 9:07:57: StartServer ThrowException again
- Tid:1 2021/10/8 9:07:57: http://localhost:22345/UserService
- Tid:1 2021/10/8 9:07:57: http://127.0.0.1:22345/UserService
- Tid:1 2021/10/8 9:07:57: http://DESKTOP-0CD3A4I:22345/UserService
- Tid:1 2021/10/8 9:07:57: Assembly: ForguncyUserServiceConsole, Version=7.0.5.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
- {
- "ClassName": "System.AggregateException",
- "Message": "One or more errors occurred.",
- "Data": null,
- "InnerException": {
- "$type": "System.Data.SqlClient.SqlException, System.Data.SqlClient",
- "ClassName": "System.Data.SqlClient.SqlException",
- "Message": "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "HelpLink.ProdName": "Microsoft SQL Server",
- "HelpLink.EvtSrc": "MSSQLServer",
- "HelpLink.EvtID": "53",
- "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
- "HelpLink.LinkId": "20476",
- "SqlError 1": "System.Data.SqlClient.SqlError: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
- },
- "InnerException": {
- "$type": "System.ComponentModel.Win32Exception, Microsoft.Win32.Primitives",
- "ClassName": "System.ComponentModel.Win32Exception",
- "Message": "找不到网络路径。",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": null,
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147467259,
- "Source": null,
- "WatsonBuckets": null,
- "NativeErrorCode": 53
- },
- "HelpURL": null,
- "StackTraceString": " at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
- at System.Data.SqlClient.SqlConnection.Open()
- at SqlServerWrapper.SqlServer..ctor(String connectionStr)
- at Forguncy.SqlServerDB.a()
- at Forguncy.SqlServerDB.EnsureTableSchema(String tableSchema)
- at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, DataBaseType type)
- at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
- at ServerDesignerCommon.Common.EnsureDatabase.m()
- at ServerDesignerCommon.Common.EnsureDatabase.s()
- at ServerDesignerCommon.Common.EnsureDatabase.EnsureAsync()
- at Forguncy.UserService2.UserServiceDBHelper.EnsureTablesAsync()
- at Forguncy.UserService2.Startup.c()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146232060,
- "Source": "Core .Net SqlClient Data Provider",
- "WatsonBuckets": null,
- "Errors": null,
- "ClientConnectionId": "00000000-0000-0000-0000-000000000000"
- },
- "HelpURL": null,
- "StackTraceString": " at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
- at Forguncy.UserService2.Startup.ConfigureServices(IServiceCollection services)
- 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.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
- at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
- at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass12_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
- at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
- at Microsoft.Extensions.Hosting.HostBuilder.Build()
- at Forguncy.ForguncyServerCommon.ProgramBase.DoStartServerAction(String baseAddress, List`1 urls, Action`1 action)
- 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": -2146233088,
- "Source": "System.Private.CoreLib",
- "WatsonBuckets": null,
- "InnerExceptions": {
- "$type": "System.Exception[], System.Private.CoreLib",
- "$values": [
- {
- "$type": "System.Data.SqlClient.SqlException, System.Data.SqlClient",
- "ClassName": "System.Data.SqlClient.SqlException",
- "Message": "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)",
- "Data": {
- "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
- "HelpLink.ProdName": "Microsoft SQL Server",
- "HelpLink.EvtSrc": "MSSQLServer",
- "HelpLink.EvtID": "53",
- "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
- "HelpLink.LinkId": "20476",
- "SqlError 1": "System.Data.SqlClient.SqlError: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
- },
- "InnerException": {
- "$type": "System.ComponentModel.Win32Exception, Microsoft.Win32.Primitives",
- "ClassName": "System.ComponentModel.Win32Exception",
- "Message": "找不到网络路径。",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": null,
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147467259,
- "Source": null,
- "WatsonBuckets": null,
- "NativeErrorCode": 53
- },
- "HelpURL": null,
- "StackTraceString": " at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
- at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
- at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
- at System.Data.SqlClient.SqlConnection.Open()
- at SqlServerWrapper.SqlServer..ctor(String connectionStr)
- at Forguncy.SqlServerDB.a()
- at Forguncy.SqlServerDB.EnsureTableSchema(String tableSchema)
- at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, DataBaseType type)
- at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
- at ServerDesignerCommon.Common.EnsureDatabase.m()
- at ServerDesignerCommon.Common.EnsureDatabase.s()
- at ServerDesignerCommon.Common.EnsureDatabase.EnsureAsync()
- at Forguncy.UserService2.UserServiceDBHelper.EnsureTablesAsync()
- at Forguncy.UserService2.Startup.c()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146232060,
- "Source": "Core .Net SqlClient Data Provider",
- "WatsonBuckets": null,
- "Errors": null,
- "ClientConnectionId": "00000000-0000-0000-0000-000000000000"
- }
- ]
- }
- }
- CurrentMethodName: StartServerAction
- Tid:1 2021/10/8 9:07:57: ForguncyUserServiceConsole ..\..\Forguncy.UserService2 is exited
复制代码
|