求救,使用exword插件后,在本地使用没问题,发布服务器后,无法生成word文件,下载是一个xml文件
ForguncyServerConsole Information: 0 : Start Trace for dotnet commandline :/opt/ForguncySites/ForguncyServerSiteStaticFiles/9.0.103.0/bin/ForguncyServerConsole.dll https://iZbp174djo4uw7sp4mmue3Z /opt/ForguncySites/ForguncyServer/zq 21343 0d765565-b429-4974-9825-f684ea3e4971 False ""
Tid:1 12/2/2024 4:28:32 PM: ForguncyServer Starting:=> ["https://iZbp174djo4uw7sp4mmue3Z","/opt/ForguncySites/ForguncyServer/zq","21343","0d765565-b429-4974-9825-f684ea3e4971","False",""]
Tid:1 12/2/2024 4:28:32 PM: Current InstallLang: cn
Tid:1 2024/12/2 下午4:28:32: ResourceHelper.Init:cn
Tid:1 2024/12/2 下午4:28:32: ["https://iZbp174djo4uw7sp4mmue3Z","/opt/ForguncySites/ForguncyServer/zq","21343","0d765565-b429-4974-9825-f684ea3e4971","False",""]
Tid:1 2024/12/2 下午4:28:32: ForguncyServer Starting: https://iZbp174djo4uw7sp4mmue3Z
Tid:1 2024/12/2 下午4:28:32: InitCache
Tid:1 2024/12/2 下午4:28:32: InitCache path:/opt/ForguncySites/ForguncyServer/zq/CustomApi
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: Assembly: Forguncy.Server2, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.IO.IOException",
"Message": "文件 'System.Windows.Forms.dll' 没有找到。",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at ServerDesignerCommon.AssemblyLoader.LoadAssembly(String filePath)
at Forguncy.KatanaMiddleware.CustomApiListHelper.GetApiList(List`1 paths, Boolean cacheMethodInfo, String searchPath)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146232800,
"Source": "ServerDesignerCommon",
"WatsonBuckets": null
}
CurrentMethodName: GetApiList
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: Assembly: Forguncy.Server2, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.IO.IOException",
"Message": "文件 'System.Windows.Forms.dll' 没有找到。",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at ServerDesignerCommon.AssemblyLoader.LoadAssembly(String filePath)
at Forguncy.KatanaMiddleware.CustomApiListHelper.GetApiList(List`1 paths, Boolean cacheMethodInfo, String searchPath)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146232800,
"Source": "ServerDesignerCommon",
"WatsonBuckets": null
}
CurrentMethodName: GetApiList
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: AddAssembly
Tid:1 2024/12/2 下午4:28:32: Assembly: Forguncy.Server2, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.TypeLoadException",
"Message": "Could not load type 'System.Web.UI.WebControls.WebControl' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Forguncy.KatanaMiddleware.CustomApiListHelper.a(Assembly A_0, CustomApiList A_1, Boolean A_2)
at Forguncy.KatanaMiddleware.CustomApiListHelper.GetApiList(List`1 paths, Boolean cacheMethodInfo, String searchPath)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233054,
"Source": "System.Private.CoreLib",
"WatsonBuckets": null,
"TypeLoadClassName": "System.Web.UI.WebControls.WebControl",
"TypeLoadAssemblyName": "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
"TypeLoadMessageArg": null,
"TypeLoadResourceID": -2146233054
}
CurrentMethodName: GetApiList
Tid:1 2024/12/2 下午4:28:32: _apiList GetMethods:[]
Tid:1 2024/12/2 下午4:28:32: _apiList PostMethods:["xuapi"]
Tid:1 2024/12/2 下午4:28:32: _apiList SchedulaMethods:[]
Tid:1 2024/12/2 下午4:28:33: ConfigureServices
Tid:1 2024/12/2 下午4:28:33: End ConfigureServices
Tid:1 2024/12/2 下午4:28:33: ForguncyServer start =>: ["https://*"]
Tid:1 2024/12/2 下午4:28:33: ForguncyServer : SetFireWallRules["https://*"]
Tid:1 2024/12/2 下午4:28:33: Configure
Tid:1 2024/12/2 下午4:28:33: ForguncyServer Startup initializing.
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: cc8861b9-56a4-4e65-b0d6-31a71b39b652 UseResponseCompression
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: C768B900-43B1-4872-AA53-22E150DBE91F HTTPLog
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 5ffef05a-dd18-4729-9a0b-c7ff5c68c968 EnableReverseProxyHeaderParse
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: f9dc6d77-2d67-46cd-8f99-500a84ec2ae7 UsePathBase
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: b9570f3b-4f5d-490a-9326-a94fae1a7343 UseCookiePolicy
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 5587812e-f9d0-4864-94dc-b12e974054e8 UseSwagger
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 55b0d7c9-d1fa-4ef6-9f2f-1027013a0e0f UseForguncyStaticFiles
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: df0a5aab-2ba9-4e77-9e81-74a5d2d623f9 UseForguncyProcessEngineStaticFiles
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 5f84c8f3-efee-49ca-bef8-92aed792b23b UseRouting
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 8442f575-2fa1-4c30-8596-8fdafcdd4870 UseAuthentication
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 82ca753e-8ae0-4c32-8ba3-e8334583d25b UseAuthorization
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 3f42ad45-f31e-4ad6-88b3-bc1dc1866366 UseUploadStaticFileWithAuthorization
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: bb79316c-948a-4ac7-adfd-a74c18ec3aa8 UseSession
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 598ee90a-1628-41e6-9b21-ccd6d8e6ba20 UseExceptionTrace
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 6f08ac1d-4105-4b41-bb04-c54bacb9a911 UseHttpHeader
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 45d695a3-abd8-4c75-bc48-cdd81b5f3f19 UseSecurityProviderValidate
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: d083c313-3696-4cef-8e31-b1ad276e1a11 UseStartPage
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 25cbf439-7d1d-4a7b-9e7a-5a6c708a92f5 UseConcurrentControll
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: dac0ac40-5321-400f-afbd-a09b0ed0e432 UseCustomApi
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 09a19fb7-c342-466d-848b-5ba32769b00d UseServerCommand
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 57491415-a6fc-4faa-98d0-aa36b6388040 UseReports
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 7fe94f35-3913-43b6-b705-d97eeb97e8f9 UseForguncyProcessEngine
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 8fe94f35-3913-43b6-b705-d97ecb97e8fA CodeEditor
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: b1d8591a-ae58-4c46-ac92-4a1304784619 UseEndPoints
Tid:1 2024/12/2 下午4:28:33: Configure MiddlewareItem: 8fe94f35-3913-43b6-b705-d97eeb97e8f9 UseForguncyProcessSpa
Tid:1 2024/12/2 下午4:28:33: 2024-12-02T16:28:33.5389984+08:00 ----------- InitialServerInfosAsync
Tid:1 2024/12/2 下午4:28:33: InitialServerInfos
Tid:1 2024/12/2 下午4:28:33: infoStr.length:135378
Tid:1 2024/12/2 下午4:28:33: Init ServerInfo
Tid:1 2024/12/2 下午4:28:33: schemaId is NullOrEmpty
Tid:1 2024/12/2 下午4:28:33: [CloudStorageAttachmentFileProcessor] ProcessAllMarkers.
Tid:1 2024/12/2 下午4:28:33: End Configure
Tid:1 2024/12/2 下午4:28:33: ForguncyServer Startup initialized.
Tid:44 2024/12/2 下午4:51:21: Assembly: SqliteWrapper, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.AggregateException",
"Message": "One or more errors occurred.",
"Data": null,
"InnerException": {
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": " at SqliteWrapper.Sqlite.a(String A_0, List`1 A_1, String A_2, String A_3)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": "SqliteWrapper",
"WatsonBuckets": null,
"InnerExceptions": {
"$type": "System.Exception[], System.Private.CoreLib",
"$values": [
{
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
}
]
}
}
CurrentMethodName: GetTableSchemaBySql
Tid:44 2024/12/2 下午4:51:21: GetTableSchemaBySql Exception:select max(substr([合同编号],12,3)+1) from [合同表] where [合同编号] like @p0
Tid:42 2024/12/2 下午4:51:28: Assembly: SqliteWrapper, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.AggregateException",
"Message": "One or more errors occurred.",
"Data": null,
"InnerException": {
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": " at SqliteWrapper.Sqlite.a(String A_0, List`1 A_1, String A_2, String A_3)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": "SqliteWrapper",
"WatsonBuckets": null,
"InnerExceptions": {
"$type": "System.Exception[], System.Private.CoreLib",
"$values": [
{
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
}
]
}
}
CurrentMethodName: GetTableSchemaBySql
Tid:42 2024/12/2 下午4:51:28: GetTableSchemaBySql Exception:select COUNT(*) from [合同表] where [合同编号] = @p0
Tid:39 2024/12/2 下午5:04:29: Assembly: SqliteWrapper, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.AggregateException",
"Message": "One or more errors occurred.",
"Data": null,
"InnerException": {
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": " at SqliteWrapper.Sqlite.a(String A_0, List`1 A_1, String A_2, String A_3)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": "SqliteWrapper",
"WatsonBuckets": null,
"InnerExceptions": {
"$type": "System.Exception[], System.Private.CoreLib",
"$values": [
{
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
}
]
}
}
CurrentMethodName: GetTableSchemaBySql
Tid:39 2024/12/2 下午5:04:29: GetTableSchemaBySql Exception:select max(substr([合同编号],12,3)+1) from [合同表] where [合同编号] like @p0
Tid:39 2024/12/2 下午5:04:35: Assembly: SqliteWrapper, Version=9.0.103.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
"ClassName": "System.AggregateException",
"Message": "One or more errors occurred.",
"Data": null,
"InnerException": {
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": " at SqliteWrapper.Sqlite.a(String A_0, List`1 A_1, String A_2, String A_3)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": "SqliteWrapper",
"WatsonBuckets": null,
"InnerExceptions": {
"$type": "System.Exception[], System.Private.CoreLib",
"$values": [
{
"$type": "System.InvalidOperationException, System.Private.CoreLib",
"ClassName": "System.InvalidOperationException",
"Message": "Must add values for the following parameters: ",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": "Microsoft.Data.Sqlite",
"WatsonBuckets": null
}
]
}
}
CurrentMethodName: GetTableSchemaBySql
Tid:39 2024/12/2 下午5:04:35: GetTableSchemaBySql Exception:select COUNT(*) from [合同表] where [合同编号] = @p0
|