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

Forums / Bugs & Issues / Bad Resources

Bad Resources

2 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    09 Jan 2011
    Link to this post
    Providing a bad resource name\assembly in the ResourceLink control throws an error

    Server Error in '/' Application.

    Value cannot be null.
    Parameter name: type

    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.ArgumentNullException: Value cannot be null.
    Parameter name: type

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: type]
       System.Web.UI.ClientScriptManager.GetWebResourceUrl(Page owner, Type type, String resourceName, Boolean htmlEncoded, IScriptManager scriptManager) +3544150
       System.Web.UI.ClientScriptManager.GetWebResourceUrl(Type type, String resourceName) +59
       Telerik.Sitefinity.Web.UI.ResourceLinks.RegisterResource(ResourceFile resource) +596
       Telerik.Sitefinity.Web.UI.ResourceLinks.CreateChildControls() +621
       System.Web.UI.Control.EnsureChildControls() +182
       System.Web.UI.Control.PreRenderRecursiveInternal() +60
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +11253905
       Telerik.Sitefinity.Modules.Pages.DraftProxyBase.editor_LayoutControlAdd(Object sender, ZoneEditorLayoutEventArgs e) +260
       Telerik.Sitefinity.Web.UI.ZoneEditor.OnLayoutControlAdd(Control dockContentContainer, ControlData controlData) +221
       Telerik.Sitefinity.Web.UI.ZoneEditor.AddPlaceholderToPage(ControlData controlData) +600
       Telerik.Sitefinity.Web.UI.ZoneEditor.CreatePlaceholders() +83
       Telerik.Sitefinity.Web.UI.ZoneEditor.CreateChildControls() +66
       System.Web.UI.Control.EnsureChildControls() +182
       System.Web.UI.Control.PreRenderRecursiveInternal() +60
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4185
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
    S
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    12 Jan 2011
    Link to this post
    Hi Steve,

    Thank you for reporting this . Those controls need better error handling, they should instead display a message that the resource cannot be found. Thank you for reporting this, I have logged (#104777) a work item for fixing their error handling.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered