More in this section

Forums / Bugs & Issues / More problems: Now get a Permission exception when logging in to admin

More problems: Now get a Permission exception when logging in to admin

2 posts, 0 answered
  1. Nathan J Pledger
    Nathan J Pledger avatar
    27 posts
    21 Apr 2006
    06 Feb 2010
    Link to this post

    We've had a load of problems with SiteFinity, which seems to break on its own accord and fail to compile for no reason.

    Now, out of nowhere - with NO changes having been made to the site - we are having multiple problems within the admin area of the software.

    Firstly, one user cannot log in at all, they just get:

    Server Error in '/' Application.

    Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    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.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. 

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Source Error: 

    Line 18:         this.userName.Controls.Add(new LiteralControl(Telerik.Security.UserManager.GetCurrentUserName()));
    Line 19:         this.projectName.Controls.Add(new LiteralControl(Telerik.Cms.Web.UrlHelper.GetProjectName()));
    Line 20:         this.MainMenu.DataBind();
    Line 21:     }
    Line 22: 

    Source File: c:\inetpub\vhosts\\httpdocs\Sitefinity\Admin\Admin.master.cs    Line: 20 

    Stack Trace: 

    [UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))]
    [FileLoadException: Could not load file or assembly '3889AC4AF542BAC3C62ABB154E78FEA8, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
       System.Reflection.Assembly.Load(AssemblyName assemblyRef) +28
       Telerik.WebServices.DynamicProxy.CompiledAssemblyCache.CheckCacheForAssembly(String wsdl) +137
       Telerik.WebServices.DynamicProxy.WebServiceDynamicProxy.BuildProxy() +50
       Telerik.WebServices.DynamicProxy.WebServiceDynamicProxy..ctor(String wsdlLocation, Cookie authCookie) +210
       Telerik.Notifications.Services.MailingServiceProxy..ctor(String wsdlUri) +573
       Telerik.Notifications.Services.MailingServiceProxy..ctor() +35
       Telerik.Notifications.Newsletters.DataManager.OnInitialized() +105
       Telerik.ManagerBase`1.Initialize() +687
       Telerik.ManagerBase`1..ctor(String providerName) +50
       Telerik.ManagerBase`1..ctor() +35
       Telerik.Notifications.Newsletters.DataManager..ctor(String providerName) +40
       Telerik.Notifications.Newsletters.DataManager..ctor() +35
       Telerik.Notifications.Newsletters.DataManager.get_Providers() +76
       Telerik.Notifications.Newsletters.DataManager.get_SecurityRoots() +95
       Telerik.Notifications.Newsletters.NewsletterModule.get_SecurityRoots() +34
       Telerik.Cms.Web.UI.Util.CheckPermissions(IModule module, Int32 perm) +150
       Telerik.Cms.Web.UI.Util.CheckMinimalPermissions(IModule module) +44
       Telerik.Cms.Web.UI.MainMenuSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +6439
       System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
       System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
       Admin_Admin.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\\httpdocs\Sitefinity\Admin\Admin.master.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) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Control.LoadRecursive() +141
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    07 Feb 2010
    Link to this post
    Hello Nathan J Pledger,

    We sent reply to the other forum thread you opened.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
2 posts, 0 answered