找回密码
 立即注册

QQ登录

只需一步,快速开始

Miya 悬赏达人认证 活字格认证

金牌服务用户

36

主题

216

帖子

596

积分

金牌服务用户

积分
596

悬赏达人活字格认证

[已处理] 8.0.1导出时报错

Miya 悬赏达人认证 活字格认证
金牌服务用户   /  发表于:2022-6-14 13:39  /   查看:1916  /  回复:2
1金币
本帖最后由 Miya 于 2022-6-14 13:55 编辑

在执行导出操作时,未知的异常出现。请再次尝试。{  "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": "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.",    "Data": {      "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",      "HelpLink.ProdName": "Microsoft SQL Server",      "HelpLink.ProdVer": "12.00.2000",      "HelpLink.EvtSrc": "MSSQLServer",      "HelpLink.EvtID": "-2",      "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",      "HelpLink.LinkId": "20476",      "SqlError 1": "System.Data.SqlClient.SqlError: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."    },    "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": 258    },    "HelpURL": null,    "StackTraceString": "   at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__126_0(Task`1 result)   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)--- End of stack trace from previous location ---   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)--- End of stack trace from previous location ---   at Forguncy.DataSourceBase.FillTableAsync(String commandText, IEnumerable`1 parameters)   at ForguncyDataAccess.DataAccess.a(String A_0, String A_1, DataBaseType A_2, DbParameter[] A_3)   at ForguncyDataAccess.DataAccess.SelectAsync(List`1 columnBindingInfos, ISqlCondition selectCondition, TopSqlConditionBase topCondition, String tableName, OrderBySqlCondition orderByCondition, OffsetSqlCondition offsetCondition, Boolean useGroupBy)   at Forguncy.Server2.ForguncyServerDataAccess.SelectAsync(List`1 columnBindingInfos, ISqlCondition selectCondition, TopSqlConditionBase topCondition, String tableName, OrderBySqlCondition orderByCondition, OffsetSqlCondition offsetCondition, Boolean useGroupBy)   at ForguncyDataAccess.DataAccess.GetDetailDataTableAsync(List`1 columnBindingInfos, ISqlCondition sqlCondition, TopSqlConditionBase topCondition, OrderBySqlCondition orderByCondition, List`1 primaryKeys, OffsetSqlCondition offsetCondition, Boolean distinct)   at ForguncyDataAccess.DataAccess.<>c__DisplayClass30_0.<<GetDetailDataTable>b__0>d.MoveNext()",    "RemoteStackTraceString": null,    "RemoteStackIndex": 0,    "ExceptionMethod": null,    "HResult": -2146232060,    "Source": "Core .Net SqlClient Data Provider",    "WatsonBuckets": null,    "Errors": null,    "ClientConnectionId": "08327626-2b69-4249-91f3-2c63edcfd905"  },  "HelpURL": null,  "StackTraceString": "   at Forguncy.Server2.Controllers.b.p(String A_0, String A_1)   at Forguncy.Server2.Controllers.a.a(ListViewInfo A_0, Boolean A_1)   at Forguncy.Server2.Controllers.a.e(GcExcelSheetWrapper A_0, List`1 A_1)   at Forguncy.Server2.Controllers.a.b(Int32 A_0)   at Forguncy.Server2.Controllers.a.c(Int32 A_0)   at Forguncy.Server2.Controllers.a.a(Int32 A_0)   at Forguncy.Server2.Controllers.a.a(Func`2 A_0)   at Forguncy.Server2.Controllers.a.c(Boolean A_0)   at Forguncy.Server2.Controllers.a.a(String A_0, List`1 A_1)   at Forguncy.Server2.Controllers.HomeController.a(Object A_0)",  "RemoteStackTraceString": null,  "RemoteStackIndex": 0,  "ExceptionMethod": null,  "HResult": -2146233088,  "Source": "Forguncy.Server2",  "WatsonBuckets": null,  "InnerExceptions": {    "$type": "System.Exception[], System.Private.CoreLib",    "$values": [      {        "$type": "System.Data.SqlClient.SqlException, System.Data.SqlClient",        "ClassName": "System.Data.SqlClient.SqlException",        "Message": "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.",        "Data": {          "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",          "HelpLink.ProdName": "Microsoft SQL Server",          "HelpLink.ProdVer": "12.00.2000",          "HelpLink.EvtSrc": "MSSQLServer",          "HelpLink.EvtID": "-2",          "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",          "HelpLink.LinkId": "20476",          "SqlError 1": "System.Data.SqlClient.SqlError: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."        },        "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": 258        },        "HelpURL": null,        "StackTraceString": "   at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__126_0(Task`1 result)   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)--- End of stack trace from previous location ---   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)--- End of stack trace from previous location ---   at Forguncy.DataSourceBase.FillTableAsync(String commandText, IEnumerable`1 parameters)   at ForguncyDataAccess.DataAccess.a(String A_0, String A_1, DataBaseType A_2, DbParameter[] A_3)   at ForguncyDataAccess.DataAccess.SelectAsync(List`1 columnBindingInfos, ISqlCondition selectCondition, TopSqlConditionBase topCondition, String tableName, OrderBySqlCondition orderByCondition, OffsetSqlCondition offsetCondition, Boolean useGroupBy)   at Forguncy.Server2.ForguncyServerDataAccess.SelectAsync(List`1 columnBindingInfos, ISqlCondition selectCondition, TopSqlConditionBase topCondition, String tableName, OrderBySqlCondition orderByCondition, OffsetSqlCondition offsetCondition, Boolean useGroupBy)   at ForguncyDataAccess.DataAccess.GetDetailDataTableAsync(List`1 columnBindingInfos, ISqlCondition sqlCondition, TopSqlConditionBase topCondition, OrderBySqlCondition orderByCondition, List`1 primaryKeys, OffsetSqlCondition offsetCondition, Boolean distinct)   at ForguncyDataAccess.DataAccess.<>c__DisplayClass30_0.<<GetDetailDataTable>b__0>d.MoveNext()",        "RemoteStackTraceString": null,        "RemoteStackIndex": 0,        "ExceptionMethod": null,        "HResult": -2146232060,        "Source": "Core .Net SqlClient Data Provider",        "WatsonBuckets": null,        "Errors": null,        "ClientConnectionId": "08327626-2b69-4249-91f3-2c63edcfd905"      }    ]  }}CurrentMethodName: ExportToExcelThread

2 个回复

倒序浏览
Miya悬赏达人认证 活字格认证
金牌服务用户   /  发表于:2022-6-14 13:56:20
沙发
是客户内部有安全措施,不是活字格问题。
回复 使用道具 举报
Erik.Xue讲师达人认证 悬赏达人认证 活字格认证 Wyn认证
超级版主   /  发表于:2022-6-14 14:10:50
板凳
您好,问题解决了就好~

回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部