说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.SqlClient.SqlException: 拒绝了对对象 'sp_sdidebug'(数据库 'master',所有者 'dbo')的 EXECUTE 权限。源错误:
行 132: .Parameters.Add(param)
行 133: End With
行 134: .Fill(data)
行 135: Finally
行 136: If Not .SelectCommand Is Nothing Then
源文件: D:\aspbuild\Duwamish7vb\DataAccess\Categories.vb 行: 134 堆栈跟踪:
[SqlException: 拒绝了对对象 'sp_sdidebug'(数据库 'master',所有者 'dbo')的 EXECUTE 权限。]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
System.Data.SqlClient.SqlConnection.IssueSQLDebug(UInt32 option, String machineName, UInt32 pid, UInt32 id, String sdiDllName, Byte[] data)
System.Data.SqlClient.SqlConnection.CheckSQLDebug(SqlDebugContext sdc)
System.Data.SqlClient.SqlConnection.CheckSQLDebugOnConnect()
System.Data.SqlClient.SqlConnection.OpenWithDebugger()
System.Data.SqlClient.SqlConnection.Open()
System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
Duwamish7.DataAccess.Categories.FillCategoryData(String commandText, String paramName, Int32 paramValue) in D:\aspbuild\Duwamish7vb\DataAccess\Categories.vb:134
Duwamish7.DataAccess.Categories.GetCategories(Int32 categoryId) in D:\aspbuild\Duwamish7vb\DataAccess\Categories.vb:108
Duwamish7.BusinessFacade.ProductSystem.GetCategories(Int32 categoryId) in D:\aspbuild\Duwamish7vb\Business\Facade\ProductSystem.vb:59
Duwamish7.Web.CategoriesModule.Page_Load(Object sender, EventArgs e) in D:\aspbuild\Duwamish7vb\web\modules\CategoriesModule.ascx.vb:162
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
行 132: .Parameters.Add(param)
行 133: End With
行 134: .Fill(data)
行 135: Finally
行 136: If Not .SelectCommand Is Nothing Then
源文件: D:\aspbuild\Duwamish7vb\DataAccess\Categories.vb 行: 134 堆栈跟踪:
[SqlException: 拒绝了对对象 'sp_sdidebug'(数据库 'master',所有者 'dbo')的 EXECUTE 权限。]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
System.Data.SqlClient.SqlConnection.IssueSQLDebug(UInt32 option, String machineName, UInt32 pid, UInt32 id, String sdiDllName, Byte[] data)
System.Data.SqlClient.SqlConnection.CheckSQLDebug(SqlDebugContext sdc)
System.Data.SqlClient.SqlConnection.CheckSQLDebugOnConnect()
System.Data.SqlClient.SqlConnection.OpenWithDebugger()
System.Data.SqlClient.SqlConnection.Open()
System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
Duwamish7.DataAccess.Categories.FillCategoryData(String commandText, String paramName, Int32 paramValue) in D:\aspbuild\Duwamish7vb\DataAccess\Categories.vb:134
Duwamish7.DataAccess.Categories.GetCategories(Int32 categoryId) in D:\aspbuild\Duwamish7vb\DataAccess\Categories.vb:108
Duwamish7.BusinessFacade.ProductSystem.GetCategories(Int32 categoryId) in D:\aspbuild\Duwamish7vb\Business\Facade\ProductSystem.vb:59
Duwamish7.Web.CategoriesModule.Page_Load(Object sender, EventArgs e) in D:\aspbuild\Duwamish7vb\web\modules\CategoriesModule.ascx.vb:162
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
解决方案 »
- 帮我写个上传音乐的实例(急) 等待中,
- 怎样判断一个空链接是否被选中?
- sql server managerment studio与c#里执行存储过程,返回值不一样
- 请问在ASP.net中怎么实现对SVG文件的操作?
- 小问题,紧急!
- 我用一个aspnetemail发送邮件,邮件字符集是设成utf-8,但是收信后,发件人和标题有几个字是问号
- 问个OracleClient的问题!!!!!!!!!!!!!!
- 两个问题百分拿:上传的文件(50分)?四舍五入(50分)?
- 请问?谁有asp.net聊天室的源代码,不要客户端、服务器端的。我的邮箱是:[email protected]
- 太奇怪了!加密解密在ASP.net与EXE中不一样!为什么?
- 关于从数据库中下载image字段的问题~ 请求帮助
- doPostBack如何使用,为什么不响应事件
检查 web.config 中数据库连接字符串!
或者是安装用户与执行用户不一致!