i am trying to use the Samples SQL Server to learn more about db programming in asp.net and I keep getting this error.
I don't know what the problem is. The installed sample run fine, but I can't acces the thing from my pages.....?Code:Server Error in '/nsite' Application.
--------------------------------------------------------------------------------
EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.
Source Error:
Line 39:
Line 40: Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 41: oCon.Open()
Line 42: Dim oReader As SqlDataReader = oCmd.ExecuteReader()
Line 43:
Source File: D:\temp\iis_outside_empty\nsite\ex\html\nw\test.aspx.vb Line: 41
Stack Trace:
[SqlException: EXECUTE permission denied on object 'sp_sdidebug', database 'master', owner 'dbo'.]
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()
nsite.test.Page_Load(Object sender, EventArgs e) in D:\temp\iis_outside_empty\nsite\ex\html\nw\test.aspx.vb:41
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Help. Thanks.
