1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / admin section server error

admin section server error

2 posts, 0 answered
  1. Umesh
    Umesh avatar
    14 posts
    Registered:
    21 Mar 2009
    26 Mar 2009
    Link to this post

    Everytime I login into admin the first time I get application

    server error. Then go back and login again and its  working

    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 , 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 267: foreach (IWebModule module in

    ModuleManager.GetWebModulesValues())

    Line 268: {

    Line 269: if (module is SecuredModule &&

    ((SecuredModule)module).CanCreate())

    Line 270: webModules.Add(module);

    Line 271: }

    Source File:

    d:\inetpub\vhosts\illinoisdistrict.us\httpdocs\Sitefinity\Admin\Default.aspx.cs

    Line: 269

    Stack Trace:

    [UnauthorizedAccessException: Access is denied. (Exception from

    HRESULT: 0x80070005 (E_ACCESSDENIED))]

    [FileLoadException: Could not load file or assembly

    '3889AC4AF542BAC3C62ABB154E78FEA8, Version=0.0.0.0,

    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) +54

    System.Reflection.Assembly.InternalLoad(AssemblyName

    assemblyRef, Evidence assemblySecurity, StackCrawlMark&

    stackMark, Boolean forIntrospection) +211

    System.Reflection.Assembly.Load(AssemblyName assemblyRef) +25

    Telerik.WebServices.DynamicProxy.CompiledAssemblyCache.CheckCacheForAssembly(String

    wsdl) +61

    Telerik.WebServices.DynamicProxy.WebServiceDynamicProxy.BuildProxy()

    +13

    Telerik.WebServices.DynamicProxy.WebServiceDynamicProxy..ctor(String

    wsdlLocation, Cookie authCookie) +155

    Telerik.Notifications.Services.MailingServiceProxy..ctor(String

    wsdlUri) +305

    Telerik.Notifications.Newsletters.DataManager.OnInitialized()

    +42

    Telerik.ManagerBase`1.Initialize() +507

    Telerik.ManagerBase`1..ctor(String providerName) +18

    Telerik.ManagerBase`1..ctor() +11

    Telerik.Notifications.Newsletters.DataManager..ctor(String

    providerName) +12

    Telerik.Notifications.Newsletters.DataManager.get_SecurityRoots()

    +76

    Telerik.Notifications.Newsletters.NewsletterModule.get_SecurityRoots()

    +5

    Telerik.Security.Permissions.SecuredModule.CanCreate() +26

    Admin_Default.Page_Load(Object sender, EventArgs e) in

    d:\inetpub\vhosts\illinoisdistrict.us\httpdocs\Sitefinity\Admin\Default.aspx.cs:269

    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,

    Object o, Object t, EventArgs e) +15

    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object

    sender, EventArgs e) +33

    System.Web.UI.Control.OnLoad(EventArgs e) +99

    Telerik.Cms.Web.AdminPage.OnLoad(EventArgs e) +57

    Admin_Default.OnLoad(EventArgs e) in

    d:\inetpub\vhosts\illinoisdistrict.us\httpdocs\Sitefinity\Admin\Default.aspx.cs:69

    System.Web.UI.Control.LoadRecursive() +47

    System.Web.UI.Page.ProcessRequestMain(Boolean

    includeStagesBeforeAsyncPoint, Boolean

    includeStagesAfterAsyncPoint) +1436

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 Mar 2009
    Link to this post
    Hi Umesh,

    The problem occurs when Telerik.Notifications.Data.DefaultProvider is trying to be initialized. The possible reasons are:

    1. Read/Write permissions are not set for ~/Sitefintiy/ServicesAssemblies folder.

    3. Try removing the assemble under ~/Sitefintiy/ServiceAssemblies folder. Then when you run your search index, the assemble should be automatically recreated.

    Just to let you know RadEditor supports Format Code Block that can be used when you paste code. 

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
2 posts, 0 answered