-
SOLVED
CLOSED
ACTIVE
ANSWERED
- User: yahya
- Posted: on Aug 10, 2016 02:01 AM
- Forum:
ASP.Net Web Forms
- Answer: 1
- Views: 6091
hi
User does not have permission to perform this action.
You do not have permission to run the RECONFIGURE statement.
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: User does not have permission to perform this action.
You do not have permission to run the RECONFIGURE statement.
Source Error:
Line 39:
Line 40: con.Open();
Line 41: cmdclr.ExecuteNonQuery();
Line 42: rpt3.DataSource = cmd.ExecuteReader();
Line 43: rpt3.DataBind();
Source File: c:\hostingspaces\toomajii\toomaji.ir\wwwroot\portal\Default.aspx.cs Line: 41
Stack Trace:
[SqlException (0x80131904): User does not have permission to perform this action.
You do not have permission to run the RECONFIGURE statement.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1767866
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5352418
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +244
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +1691
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) +869
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) +410
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +160
_Default.Page_Load(Object sender, EventArgs e) in c:\hostingspaces\toomajii\toomaji.ir\wwwroot\portal\Default.aspx.cs:41
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408