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

Forums / Bugs & Issues / Cannot add components to a page.

Cannot add components to a page.

2 posts, 0 answered
  1. Bryan
    Bryan avatar
    1 posts
    Registered:
    18 Mar 2014
    18 Mar 2014
    Link to this post

    I have installed Sitefinity and the database appears to have been correctly hooked up to my db server.  When I create a page, add a component to it, and then try to edit the component, I get a null reference exception in the editor's iframe.  Here is the stacktrace:  

    [ArgumentNullException: Value cannot be null.
    Parameter name: source]
       System.Linq.Enumerable.Select(IEnumerable`1 source, Func`2 selector) +798
       Telerik.Sitefinity.Data.ManagerExtensions.GetSiteProviders(IManager manager, Guid siteId) +542
       Telerik.Sitefinity.Data.ManagerBase`1.GetContextProviders() +60
       Telerik.Sitefinity.Web.UI.ProvidersSelector.get_Providers() +209
       Telerik.Sitefinity.Web.UI.ProvidersSelector.OnPreRender(EventArgs e) +57
       System.Web.UI.Control.PreRenderRecursiveInternal() +155
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4090

    [ArgumentNullException: Value cannot be null.
    Parameter name: source]
       System.Linq.Enumerable.Select(IEnumerable`1 source, Func`2 selector) +798
       Telerik.Sitefinity.Data.ManagerExtensions.GetSiteProviders(IManager manager, Guid siteId) +542
       Telerik.Sitefinity.Data.ManagerBase`1.GetContextProviders() +60
       Telerik.Sitefinity.Web.UI.ProvidersSelector.get_Providers() +209
       Telerik.Sitefinity.Web.UI.ProvidersSelector.OnPreRender(EventArgs e) +57
       System.Web.UI.Control.PreRenderRecursiveInternal() +155
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Control.PreRenderRecursiveInternal() +240
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4090
  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    20 Mar 2014
    Link to this post
    Hello Bryan,

    In order to be able to provide a good solution, we need to know more about your project and how to reproduce the problem.

    What Sitefinity version are you running and what edition? Are you running this through IIS or through the built-in server inside the project manager? Does this error occur on one specific page or over all of them? Did this error start occurring at some specific moment or was it there since you installed Sitefinity?

    As mentioned in this forum thread:
    http://www.sitefinity.com/developer-network/forums/bugs-issues-/server-error-in-'-default'-application-
    in most cases the problem is caused by some misconfiguration.

    I would also advise you to try re-install your project and also try different hosting server - IIS / IIS Express / Cassini.

    The project should run best using IIS:
    http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/install-sitefinity/configuring-the-iis-to-host-sitefinity-projects

    Hope this information helps.

    Regards,
    Vassil Vassilev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered