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

Forums / Bugs & Issues / Create a News item - Error

Create a News item - Error

5 posts, 0 answered
  1. Scott
    Scott  avatar
    12 posts
    Registered:
    20 Apr 2011
    27 Oct 2011
    Link to this post
    When I select .... / content / News / 'Create A News Item', I receive the following error:

    Exception Details: System.ArgumentException: Type "Telerik.Sitefinity.Samples.SimpleImageFieldElement, SitefinityWebApp" cannot be resolved.
     
    Source Error:
     
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
     
    Stack Trace:
     
     
    [ArgumentException: Type "Telerik.Sitefinity.Samples.SimpleImageFieldElement, SitefinityWebApp" cannot be resolved.]
       System.Lazy`1.get_Value() +9582723
       Telerik.Sitefinity.Configuration.ConfigElementLazyItem`1.get_Element() +82
       Telerik.Sitefinity.Configuration.ConfigElementDictionary`2.TryGetValueInternal(TKey key, TElement& element) +45
       Telerik.Sitefinity.Web.UI.ContentUI.Config.ContentViewControlElement.TryGetView(String viewName, IContentViewDefinition& view) +31
       Telerik.Sitefinity.Web.UI.ContentUI.ContentViewControlDefinition.TryGetView(String viewName, IContentViewDefinition& view) +131
       Telerik.Sitefinity.Web.UI.ContentUI.ContentView.DetermineCurrentViewName() +128
       Telerik.Sitefinity.Web.UI.ContentUI.ContentView.CreateChildControls() +46
       System.Web.UI.Control.EnsureChildControls() +102
       System.Web.UI.Control.PreRenderRecursiveInternal() +42
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
  2. Scott
    Scott avatar
    12 posts
    Registered:
    26 Oct 2011
    28 Oct 2011
    Link to this post
    Telerik

    Any ideas? I have a new development team that I am working with and your input will help with the troubleshooting! Thanks. 
  3. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    31 Oct 2011
    Link to this post
    Hi Scott,

     The problem is caused by a custom field that you have added to the News module(Simple Image field). There is either missing file from the thumbnail selector control or some of the files is not being used properly. Can you confirm you have completed all steps from this blog post? Note the .js files have to be built as embedded resources and registered in AssemblyInfo.cs. Also make sure you build the project in visual studio when you have added all files, this way they will be accessible because building the project every time a change is made is required for web applications.

    I suppose some of this steps will resolve the issue. If the problem persists write back.

    All the best,
    Svetoslav Petsov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  4. Phuc
    Phuc avatar
    2 posts
    Registered:
    10 May 2013
    26 May 2013
    Link to this post
    hi the Telerik team.

    I had create custom location module follow http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules/creating-custom-modules/creating-locations-module/installing-the-module

    and I saw this error 

    [NullReferenceException: Object reference not set to an instance of an object.]
    Telerik.Sitefinity.Web.UI.ContentUI.ContentViewControlDefinition.GetDefaultMasterView() +122
    Telerik.Sitefinity.Web.UI.ContentUI.ContentView.DetermineCurrentViewName() +571
    Telerik.Sitefinity.Web.UI.ContentUI.ContentView.CreateChildControls() +104
    System.Web.UI.Control.EnsureChildControls() +83
    System.Web.UI.Control.PreRenderRecursiveInternal() +42
    System.Web.UI.Control.PreRenderRecursiveInternal() +168
    System.Web.UI.Control.PreRenderRecursiveInternal() +168
    System.Web.UI.Control.PreRenderRecursiveInternal() +168
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974


    on sitefinity 6.0

    please help me find the good solution for this.


    Thanks
  5. Ivelina Ganeva
    Ivelina Ganeva avatar
    4 posts
    Registered:
    07 Jul 2016
    28 May 2013
    Link to this post
    Hi Scott,

    There is a problem related to definitions class for building the UI for the backend and the frontend views of the module.
    Could you please open a support ticket and attach a copy of the project files to it and also a backup of the database. We will investigate the problem locally.

    Regards,
    Ivy
    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 Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered