Bad Resources
Providing a bad resource name\assembly in the ResourceLink control throws an error
Server Error in '/' Application.
Value cannot be null.
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.
Parameter name: type
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
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