System.Data.SqlClient.SqlException (0x80131904): 拒绝了对对象 'NT_School' (数据库 'xuezi08',架构 'dbo')的 SELECT 权限。
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at JuSNS.Profile.DbHelper.GetPageSql(DbConnection connection, DbCommand cmd, String SqlAllFields, String SqlTablesAndWhere, String IndexField, String OrderFields, Int32 PageIndex, Int32 PageSize, Int32& RecordCount, Int32& PageCount)
at JuSNS.Profile.DbHelper.ExecutePage(DbConnection connection, String SqlAllFields, String SqlTablesAndWhere, String IndexField, String OrderFields, Int32 PageIndex, Int32 PageSize, Int32& RecordCount, Int32& PageCount, DbParameter[] commandParameters)
at JuSNS.Profile.DbHelper.ExecutePage(String connectionString, String SqlAllFields, String SqlTablesAndWhere, String IndexField, String OrderFields, Int32 PageIndex, Int32 PageSize, Int32& RecordCount, Int32& PageCount, DbParameter[] commandParameters)
at JuSNS.Profile.DbHelper.ExecutePage(String SqlAllFields, String SqlTablesAndWhere, String IndexField, String OrderFields, Int32 PageIndex, Int32 PageSize, Int32& RecordCount, Int32& PageCount, DbParameter[] commandParameters)
at JuSNS.SQLServer.UtilPage.JuSNS.Factory.IUtilPage.GetSchoolListPage(Int32 cityid, Int32 type, Int32 zhongzhi, String keys, Int32 siteid, Int32 PageIndex, Int32 PageSize, Int32& RecordCount, Int32& PageCount, SqlConditionInfo[] SqlCondition)
at JuSNS.Home.UtilPage.GetSchoolListPage(Int32 cityid, Int32 type, Int32 zhongzhi, String keys, Int32 siteid, Int32 PageIndex, Int32 PageSize, Int32& RecordCount, Int32& PageCount, SqlConditionInfo[] SqlCondition)
at JuSNS.Web.schoolist.ShowList(VelocityContext& context)
at JuSNS.Web.schoolist.ShowInfo(VelocityContext& context)
at JuSNS.Web.schoolist.Page_Load(VelocityContext& context)
at JuSNS.MVC.IHandler.ProcessRequest(HttpContext context)
ClientConnectionId:1c910728-92e0-4986-9fb4-5830051375ac