请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

高新

注册会员

6

主题

17

帖子

111

积分

注册会员

积分
111
高新
注册会员   /  发表于:2021-9-24 19:59  /   查看:1876  /  回复:3
1金币
本帖最后由 高新 于 2021-9-26 20:32 编辑

活字格服务器没有成功启动。服务正常。当用户信息数据库配置 被修改到sqlserver时,重新启动就会出错。

ForguncyUserServiceConsole Information: 0 : Start Trace for ForguncyUserServiceConsole commandline :"D:\Program Files\ForguncyServer\Website\bin\ForguncyUserServiceConsole.dll" http://WIN-IkWIDD2KEXK:22345/UserService ..\..\Forguncy.UserService2 9204 a090e66b-c03a-45fa-a7a5-ec643096e0f9
Tid:1 2021/9/24 16:21:35: ForguncyServer Starting:=> ["http://WIN-IkWIDD2KEXK:22345/UserService","..\\..\\Forguncy.UserService2","9204","a090e66b-c03a-45fa-a7a5-ec643096e0f9"]
Tid:1 2021/9/24 16:21:35: Current InstallLang: cn
Tid:1 2021/9/24 16:21:35: ResourceHelper.Init:cn
Tid:1 2021/9/24 16:21:35: ForguncyUserServiceConsole Starting: http://WIN-IkWIDD2KEXK:22345/UserService
Tid:1 2021/9/24 16:21:36: x86 SQLite.Interop.dll is exist :True
Tid:1 2021/9/24 16:21:36: x64 SQLite.Interop.dll is exist :True
Tid:1 2021/9/24 16:21:37: Assembly: ForguncyUserServiceConsole, Version=7.0.4.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 connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)",
    "Data": {
      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
      "HelpLink.ProdName": "Microsoft SQL Server",
      "HelpLink.EvtSrc": "MSSQLServer",
      "HelpLink.EvtID": "233",
      "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
      "HelpLink.LinkId": "20476",
      "SqlError 1": "System.Data.SqlClient.SqlError: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)"
    },
    "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": 233
    },
    "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": "b6c62e2c-499a-4050-a5a1-aad353a0a085"
  },
  "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 connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)",
        "Data": {
          "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
          "HelpLink.ProdName": "Microsoft SQL Server",
          "HelpLink.EvtSrc": "MSSQLServer",
          "HelpLink.EvtID": "233",
          "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
          "HelpLink.LinkId": "20476",
          "SqlError 1": "System.Data.SqlClient.SqlError: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)"
        },
        "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": 233
        },
        "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": "b6c62e2c-499a-4050-a5a1-aad353a0a085"
      }
    ]
  }
}

CurrentMethodName: StartServerAction
Tid:1 2021/9/24 16:21:37: x86 SQLite.Interop.dll is exist :True
Tid:1 2021/9/24 16:21:37: x64 SQLite.Interop.dll is exist :True
Tid:1 2021/9/24 16:21:37: StartServer ThrowException again
Tid:1 2021/9/24 16:21:37: http://localhost:22345/UserService
Tid:1 2021/9/24 16:21:37: http://127.0.0.1:22345/UserService
Tid:1 2021/9/24 16:21:37: http://WIN-IkWIDD2KEXK:22345/UserService
Tid:1 2021/9/24 16:21:37: Assembly: ForguncyUserServiceConsole, Version=7.0.4.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 connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)",
    "Data": {
      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
      "HelpLink.ProdName": "Microsoft SQL Server",
      "HelpLink.EvtSrc": "MSSQLServer",
      "HelpLink.EvtID": "233",
      "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
      "HelpLink.LinkId": "20476",
      "SqlError 1": "System.Data.SqlClient.SqlError: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)"
    },
    "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": 233
    },
    "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": "b6c62e2c-499a-4050-a5a1-aad353a0a085"
  },
  "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 connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)",
        "Data": {
          "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
          "HelpLink.ProdName": "Microsoft SQL Server",
          "HelpLink.EvtSrc": "MSSQLServer",
          "HelpLink.EvtID": "233",
          "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
          "HelpLink.LinkId": "20476",
          "SqlError 1": "System.Data.SqlClient.SqlError: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)"
        },
        "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": 233
        },
        "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": "b6c62e2c-499a-4050-a5a1-aad353a0a085"
      }
    ]
  }
}

CurrentMethodName: StartServerAction
Tid:1 2021/9/24 16:21:37: ForguncyUserServiceConsole ..\..\Forguncy.UserService2 is exited



最佳答案

查看完整内容

可能是外置用户数据引起。删除所有文件,重新安装。

3 个回复

倒序浏览
最佳答案
最佳答案
高新
注册会员   /  发表于:2021-9-24 19:59:23
来自 2#
可能是外置用户数据引起。删除所有文件,重新安装。
回复 使用道具 举报
zyk.Zhou活字格认证
论坛元老   /  发表于:2021-9-25 11:20:31
3#
删除重新安装,注册表之类的也要清理干净
回复 使用道具 举报
Joe.xu讲师达人认证 悬赏达人认证 活字格认证
超级版主   /  发表于:2021-9-26 09:40:26
4#
感谢您对活字格的支持。
后面有问题,欢迎继续发新帖交流
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部