zsdtylj 发表于 2024-6-10 23:43:24

10.0.3服务端启动失败.

C:\Program Files\ForguncyServer\WebSite\bin>ForguncyUserServiceConsole.exe
LoadBalancingConfigPath=C:\Users\Public\Documents\ForguncyServer\LoadBalancingConfig.xml
2024-06-10 23:39:39.648 - Start Logger for ForguncyUserServiceConsole(PID:15984) commandline: "C:\Program Files\ForguncyServer\WebSite\bin\ForguncyUserServiceConsole.dll"
2024-06-10 23:39:39.651 - - C:\Users\Administrator\AppData\Local\Temp\ForguncyServerLog
2024-06-10 23:39:39.677 - ForguncyServer Starting:=> []
2024-06-10 23:39:39.683 - Current InstallLang: cn
2024-06-10 23:39:39.688 - ResourceHelper.Init:cn
2024-06-10 23:39:39.701 - ForguncyUserServiceConsole Starting: http://xa-tools-hu:22345/ForguncyServer/UserService
Unhandled exception. System.ComponentModel.Win32Exception (5): 拒绝访问。
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.UpdateHasExited()
   at System.Diagnostics.Process.get_HasExited()
   at a.e()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe(ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
2024-06-10 23:39:41.315 - x86 SQLite.Interop.dll is exist :False
2024-06-10 23:39:41.315 - x64 SQLite.Interop.dll is exist :False
2024-06-10 23:39:41.320 - Start EnsureTablesAsync
2024-06-10 23:39:41.409 - {
"ClassName": "System.Reflection.TargetInvocationException",
"Message": "Exception has been thrown by the target of an invocation.",
"Data": {
    "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
    "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
    "App Version": "10.0.3.0",
    "Timestamp of the exe": "65310000",
    "Assembly Name": "Microsoft.Data.Sqlite",
    "Version of faulting assembly": "6.0.1423.6205",
    "Timestamp of faulting module": "d5cd4277",
    "MethodDef": "169",
    "IL Offset of faulting instruction": "6d",
    "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
    "NIL": ""
},
"InnerException": {
    "$type": "Microsoft.Data.Sqlite.SqliteException, Microsoft.Data.Sqlite",
    "SqliteErrorCode": 14,
    "SqliteExtendedErrorCode": 14,
    "IsTransient": false,
    "SqlState": null,
    "BatchCommand": null,
    "ErrorCode": -2147467259,
    "Message": "SQLite Error 14: 'unable to open database file'.",
    "Data": {
      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
      "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
      "App Version": "10.0.3.0",
      "Timestamp of the exe": "65310000",
      "Assembly Name": "Microsoft.Data.Sqlite",
      "Version of faulting assembly": "6.0.1423.6205",
      "Timestamp of faulting module": "d5cd4277",
      "MethodDef": "169",
      "IL Offset of faulting instruction": "6d",
      "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
      "NIL": ""
    },
    "InnerException": null,
    "HelpLink": null,
    "Source": "Microsoft.Data.Sqlite",
    "HResult": -2147467259,
    "StackTrace": "   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteConnectionInternal..ctor(SqliteConnectionStringBuilder connectionOptions, SqliteConnectionPool pool)
   at Microsoft.Data.Sqlite.SqliteConnectionFactory.GetConnection(SqliteConnection outerConnection)
   at Microsoft.Data.Sqlite.SqliteConnection.Open()
   at SqliteWrapper.Sqlite..ctor(String connectionStr)"
},
"HelpURL": null,
"StackTraceString": "   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at ForguncyDataAccess.DataBaseWrapperFactory.CreateInstance(String dataBaseType, String connectionStr, List`1 logs)
   at Forguncy.DataSourceBase.get_DataBaseWrapper()
   at Forguncy.DataSourceBase.IsTableExist(String tableSchema, String tableName)
   at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, String type)
   at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
   at Forguncy.UserService2.DB.DBMigrationsManager.InitMigrationRecordTable()
   at Forguncy.UserService2.DB.DBMigrationsManager.MigrationAsync()",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146232828,
"Source": "System.Private.CoreLib",
"WatsonBuckets": null
}
StartServerAction Exception One or more errors occurred. (Exception has been thrown by the target of an invocation.)
2024-06-10 23:39:41.421 - {
"ClassName": "System.AggregateException",
"Message": "One or more errors occurred.",
"Data": null,
"InnerException": {
    "$type": "System.Reflection.TargetInvocationException, System.Private.CoreLib",
    "ClassName": "System.Reflection.TargetInvocationException",
    "Message": "Exception has been thrown by the target of an invocation.",
    "Data": {
      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
      "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
      "App Version": "10.0.3.0",
      "Timestamp of the exe": "65310000",
      "Assembly Name": "Microsoft.Data.Sqlite",
      "Version of faulting assembly": "6.0.1423.6205",
      "Timestamp of faulting module": "d5cd4277",
      "MethodDef": "169",
      "IL Offset of faulting instruction": "6d",
      "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
      "NIL": ""
    },
    "InnerException": {
      "$type": "Microsoft.Data.Sqlite.SqliteException, Microsoft.Data.Sqlite",
      "SqliteErrorCode": 14,
      "SqliteExtendedErrorCode": 14,
      "IsTransient": false,
      "SqlState": null,
      "BatchCommand": null,
      "ErrorCode": -2147467259,
      "Message": "SQLite Error 14: 'unable to open database file'.",
      "Data": {
      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
      "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
      "App Version": "10.0.3.0",
      "Timestamp of the exe": "65310000",
      "Assembly Name": "Microsoft.Data.Sqlite",
      "Version of faulting assembly": "6.0.1423.6205",
      "Timestamp of faulting module": "d5cd4277",
      "MethodDef": "169",
      "IL Offset of faulting instruction": "6d",
      "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
      "NIL": ""
      },
      "InnerException": null,
      "HelpLink": null,
      "Source": "Microsoft.Data.Sqlite",
      "HResult": -2147467259,
      "StackTrace": "   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteConnectionInternal..ctor(SqliteConnectionStringBuilder connectionOptions, SqliteConnectionPool pool)
   at Microsoft.Data.Sqlite.SqliteConnectionFactory.GetConnection(SqliteConnection outerConnection)
   at Microsoft.Data.Sqlite.SqliteConnection.Open()
   at SqliteWrapper.Sqlite..ctor(String connectionStr)"
    },
    "HelpURL": null,
    "StackTraceString": "   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at ForguncyDataAccess.DataBaseWrapperFactory.CreateInstance(String dataBaseType, String connectionStr, List`1 logs)
   at Forguncy.DataSourceBase.get_DataBaseWrapper()
   at Forguncy.DataSourceBase.IsTableExist(String tableSchema, String tableName)
   at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, String type)
   at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
   at Forguncy.UserService2.DB.DBMigrationsManager.InitMigrationRecordTable()
   at Forguncy.UserService2.DB.DBMigrationsManager.MigrationAsync()
   at Forguncy.UserService2.UserServiceDBHelper.EnsureTablesAsync()
   at Forguncy.UserService2.Startup.InitializeDatabaseAsync()",
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": -2146232828,
    "Source": "System.Private.CoreLib",
    "WatsonBuckets": null
},
"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, Span`1& 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, Object instance)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_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 a.c(String a, List`1 b)
   at a.<>c.e(String a, List`1 b)
   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.Reflection.TargetInvocationException, System.Private.CoreLib",
      "ClassName": "System.Reflection.TargetInvocationException",
      "Message": "Exception has been thrown by the target of an invocation.",
      "Data": {
          "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
          "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
          "App Version": "10.0.3.0",
          "Timestamp of the exe": "65310000",
          "Assembly Name": "Microsoft.Data.Sqlite",
          "Version of faulting assembly": "6.0.1423.6205",
          "Timestamp of faulting module": "d5cd4277",
          "MethodDef": "169",
          "IL Offset of faulting instruction": "6d",
          "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
          "NIL": ""
      },
      "InnerException": {
          "$type": "Microsoft.Data.Sqlite.SqliteException, Microsoft.Data.Sqlite",
          "SqliteErrorCode": 14,
          "SqliteExtendedErrorCode": 14,
          "IsTransient": false,
          "SqlState": null,
          "BatchCommand": null,
          "ErrorCode": -2147467259,
          "Message": "SQLite Error 14: 'unable to open database file'.",
          "Data": {
            "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
            "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
            "App Version": "10.0.3.0",
            "Timestamp of the exe": "65310000",
            "Assembly Name": "Microsoft.Data.Sqlite",
            "Version of faulting assembly": "6.0.1423.6205",
            "Timestamp of faulting module": "d5cd4277",
            "MethodDef": "169",
            "IL Offset of faulting instruction": "6d",
            "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
            "NIL": ""
          },
          "InnerException": null,
          "HelpLink": null,
          "Source": "Microsoft.Data.Sqlite",
          "HResult": -2147467259,
          "StackTrace": "   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteConnectionInternal..ctor(SqliteConnectionStringBuilder connectionOptions, SqliteConnectionPool pool)
   at Microsoft.Data.Sqlite.SqliteConnectionFactory.GetConnection(SqliteConnection outerConnection)
   at Microsoft.Data.Sqlite.SqliteConnection.Open()
   at SqliteWrapper.Sqlite..ctor(String connectionStr)"
      },
      "HelpURL": null,
      "StackTraceString": "   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at ForguncyDataAccess.DataBaseWrapperFactory.CreateInstance(String dataBaseType, String connectionStr, List`1 logs)
   at Forguncy.DataSourceBase.get_DataBaseWrapper()
   at Forguncy.DataSourceBase.IsTableExist(String tableSchema, String tableName)
   at ForguncyDataAccess.DataAccess.IsTableRealExistInDataBase(String tableSchema, String tableName, String connectionStr, String type)
   at ForguncyDataAccess.DataAccess.IsTableExist(String tableName)
   at Forguncy.UserService2.DB.DBMigrationsManager.InitMigrationRecordTable()
   at Forguncy.UserService2.DB.DBMigrationsManager.MigrationAsync()
   at Forguncy.UserService2.UserServiceDBHelper.EnsureTablesAsync()
   at Forguncy.UserService2.Startup.InitializeDatabaseAsync()",
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": null,
      "HResult": -2146232828,
      "Source": "System.Private.CoreLib",
      "WatsonBuckets": null
      }
    ]
}
}
StartServerAction Exception again One or more errors occurred. (Exception has been thrown by the target of an invocation.)
2024-06-10 23:39:41.424 - x86 SQLite.Interop.dll is exist :False
2024-06-10 23:39:41.424 - x64 SQLite.Interop.dll is exist :False
2024-06-10 23:39:41.424 - Start EnsureTablesAsync
2024-06-10 23:39:41.425 - {
"ClassName": "System.Reflection.TargetInvocationException",
"Message": "Exception has been thrown by the target of an invocation.",
"Data": {
    "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
    "App Name": "3ZVT0L14D4YKG1NX45GGGYWYYB1NLHXW",
    "App Version": "10.0.3.0",
    "Timestamp of the exe": "65310000",
    "Assembly Name": "Microsoft.Data.Sqlite",
    "Version of faulting assembly": "6.0.1423.6205",
    "Timestamp of faulting module": "d5cd4277",
    "MethodDef": "169",
    "IL Offset of faulting instruction": "6d",
    "Exception Type": "Microsoft.Data.Sqlite.Sqlite",
    "NIL": ""
},
"InnerException": {
    "$type": "Microsoft.Data.Sqlite.SqliteException, Microsoft.Data.Sqlite",
    "SqliteErrorCode": 14,
    "SqliteExtendedErrorCode": 14,
    "IsT之前好好的.突然就启动不了.实在不想重装系统.感觉
2024-06-10 23:39:41.315 - x86 SQLite.Interop.dll is exist :False
2024-06-10 23:39:41.315 - x64 SQLite.Interop.dll is exist :False

这里就出现问题了.

zsdtylj 发表于 2024-6-11 09:01:40

电脑上卸载然后重装了服务端还是不行。。不知道什么问题了

Lay.Li 发表于 2024-6-11 11:02:25

您好,看日志应该是数据库要用的一些文件找不到了,您电脑中是不是有下载什么杀毒软件之类的,可以尝试参考下方的帖子,看看能不能帮助到您




unable to load DLL 'SQLite.Interop.dll':找不到指定的模块。(Exception from HRE...
https://gcdn.grapecity.com.cn/showtopic-72707-1-1.html
(出处: 葡萄城开发者社区)



zsdtylj 发表于 2024-6-11 11:07:10

Lay.Li 发表于 2024-6-11 11:02
您好,看日志应该是数据库要用的一些文件找不到了,您电脑中是不是有下载什么杀毒软件之类的,可以尝试参考 ...

系统环境我都重新安装过了。而且很奇怪。每次安装活字格都需要禁用我的显卡驱动。不然我打开安装包都是直接没没反应的。

Lay.Li 发表于 2024-6-12 11:09:36

那应该是显卡驱动有问题,可以尝试卸载重装一下显卡驱动看看行不行

1.下载一个DDU软件
2.在安全模式下,用DDU卸载显卡驱动

3.在windows检查更新(不要手动装驱动)


zsdtylj 发表于 2024-6-13 14:21:22

卸载后是可以了。但是是系统自动安装驱动后又不行。。

Lay.Li 发表于 2024-6-14 13:44:26

您的驱动是在在windows检查更新中更新的么,如果windows检查更新安装的驱动还是不行的话,试一下在显卡官网中下载驱动看看行不行

zsdtylj 发表于 2024-6-14 14:22:23

Lay.Li 发表于 2024-6-14 13:44
您的驱动是在在windows检查更新中更新的么,如果windows检查更新安装的驱动还是不行的话,试一下在显卡官网 ...

都试过了.intel官网最新的驱动也试过了.用旧版本的驱动也试过了.反正就是不行.准备放弃了.估计真的就是不行了.

Lay.Li 发表于 2024-6-17 09:33:06

那这个问题需要远程您看一下了,您可以先填一下我们这边的1V1申请:https://www.grapecity.com.cn/applyonline,
通过申请后会有专门的人联系您,给您提供一个月免费的快速支持通道:loveliness:


页: [1]
查看完整版本: 10.0.3服务端启动失败.