数据为空或非法操作System.Security.SecurityException: 请求“System.Data.OleDb.OleDbPermission, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”类型的权限已失败。 在 System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) 在 System.Security.CodeAccessSecurityEngine.Check(PermissionSet permSet, StackCrawlMark& stackMark) 在 System.Security.PermissionSet.Demand() 在 System.Data.Common.DbConnectionOptions.DemandPermission() 在 System.Data.OleDb.OleDbConnection.PermissionDemand() 在 System.Data.OleDb.OleDbConnectionFactory.PermissionDemand(DbConnection outerConnection) 在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) 在 System.Data.OleDb.OleDbConnection.Open() 在 Maticsoft.DBUtility.DbHelperOleDb.Query(String SQLString) 位置 E:\yijie_xiangmu\wuyinhu\usbhb.com\sanceng.szjzw.com.cn\DBUtility\DbHelperOleDb.cs:行号 279 在 Cenpic.DAL.info.GetList(String strWhere) 位置 E:\yijie_xiangmu\wuyinhu\usbhb.com\sanceng.szjzw.com.cn\DAL\info.cs:行号 686 在 Cenpic.BLL.info.GetList(String strWhere) 位置 E:\yijie_xiangmu\wuyinhu\usbhb.com\sanceng.szjzw.com.cn\Bll\info.cs:行号 110 在 Seo.getCount() 位置 d:\freehost\jiemke2026\web\product.aspx.cs:行号 50 失败的操作是: Demand 失败的第一个权限的类型是: System.Data.OleDb.OleDbPermission 失败的程序集的区域是: MyComputerSystem.Threading.ThreadAbortException: 正在中止线程。 在 System.Threading.Thread.AbortInternal() 在 System.Threading.Thread.Abort(Object stateInfo) 在 System.Web.HttpResponse.AbortCurrentThread() 在 System.Web.HttpResponse.End() 在 Seo.getCount() 位置 d:\freehost\jiemke2026\web\product.aspx.cs:行号 54 在 Seo.Bindlist() 位置 d:\freehost\jiemke2026\web\product.aspx.cs:行号 65 在 Seo.Page_Load(Object sender, EventArgs e) 位置 d:\freehost\jiemke2026\web\product.aspx.cs:行号 17