Advertise with us
Control Panel
Forum
Hosting Help
ASP.NET 4.5 & SQL 2012 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
Home
»
Questions & Answers
»
User does not have permission to perform this action.
User does not have permission to perform this action.
14 May, 12
Author:
birju lodhiya
t.n.rao
i don't why this happening
error is:
User does not have permission to perform this action.
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.
Source Error:
Line 18: String sel = SELECT [forumid], [name] FROM Forums ORDER BY [name];
Line 19: SqlDataAdapter da = new SqlDataAdapter(sel, con);
Line 20: da.Fill(ds, Forums);
Line 21: sel = SELECT [forumid], [topicid],[name], [description] FROM Topics ORDER BY [name];
Line 22: da = new SqlDataAdapter(sel, con);
Source File: c:\MemberSites\MemberSites_AspSpider_Ws\birjulodhiya\webroot\Default.aspx.cs Line: 20
Stack Trace:
[SqlException (0x80131904): User does not have permission to perform this action.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1065
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126
System.Data.SqlClient.SqlConnection.Open() +125
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +123
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +319
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
_Default.Page_Load(Object sender, EventArgs e) in c:\MemberSites\MemberSites_AspSpider_Ws\birjulodhiya\webroot\Default.aspx.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Answers .............
Author:
Nishanth Mohan
Posted Date: 17 May, 12
Have you attached the mdf file using database manager? Please visit
http://aspspider.info/smsmallu
/
Author:
Nishanth Mohan
Posted Date: 31 May, 12
Please give feedback on my new website:
http://aspspider.info/donatecarcalifornia
You must
login
to post answer for this question.
Total
members
:
250575
Average new registrations per day (in last 7 days):
11
New Registration:
Open
Register Now
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.