Value cannot be null or empty. Parameter name: handler

Thread is closed for posting
41 posts, 0 answers
  1. Iggy
    Iggy avatar
    40 posts
    Member since:
    Jul 2005

    Posted 22 Jan 2009 Link to this post

    Has anyone seen the following error before?  It comes up randomly when opening a RadWindow, usually after building a project/solution.  I have not been able to track down what causes it to appear.

    Server Error in '/XXX/YYY' Application.

    Value cannot be null or empty.
    Parameter name: handler

    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.ArgumentException: Value cannot be null or empty.
    Parameter name: handler

    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: Value cannot be null or empty.
    Parameter name: handler]
       System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler) +187
       Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver) +1029
       Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(WebControl control) +115
       Telerik.Web.UI.RadWebControl.GetScriptDescriptors() +5
       Telerik.Web.UI.RadWebControl.System.Web.UI.IScriptControl.GetScriptDescriptors() +10
       System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +92
       System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl) +22
       Telerik.Web.UI.RadWebControl.RegisterScriptDescriptors() +24
       Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +33
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +189
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +167
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +217
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +47
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +189
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
       System.Web.UI.Page.Render(HtmlTextWriter writer) +30
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
       Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +594
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +88
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +25
       System.Web.UI.Page.Render(HtmlTextWriter writer) +30
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +52
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +198
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5792

     


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 23 Jan 2009 Link to this post

    Hi Iggy,

    I don't recall such problem being reported before and we cannot reproduce it locally. Could you please open a support ticket and send us a small sample project where the problem can be reproduced? We will check it and do our best to help.


    Regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. user1843640
    user1843640 avatar
    8 posts
    Member since:
    Oct 2006

    Posted 09 Feb 2009 Link to this post

    Any thoughts on this error?  I have encountered it as well.  For me it is happening from time to time in the Render method of a control that inherits from RadPageView.
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Feb 2009 Link to this post

    Hello svk,

    Iggy hasn't send us a reproduction project so at this point we still cannot tell why is this happening. If you send us such project that can be run locally and where the problem can be reproduced, we will check it right away.


    All the best,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Iggy
    Iggy avatar
    40 posts
    Member since:
    Jul 2005

    Posted 10 Feb 2009 Link to this post

    Unfortunately I can't reproduce the error on command.  It just comes up every so often.  The only thing I have noticed is that it seems to appear the first time I load a window after building the project, but of course it doesn't happen every time I build the project, maybe more like 1 in every 40-50 builds.

    Sorry I can't be of more help.  It is annoying but I just haven't been able to pinpoint the steps to reproduce the issue.
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 Feb 2009 Link to this post

    OK Iggy,

    Let us know if you manage to isolate the reproduction steps. If we find something on our side regarding this problem, I will post here as well.



    Regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Premnath
    Premnath avatar
    5 posts
    Member since:
    Dec 2008

    Posted 23 Feb 2009 Link to this post

    For this problem you need to change the web.config setting under the  <httpHandlers> tag add the <add path="Telerik.Web.UI.WebResource.axd" .. Then it will work

  8. Premnath
    Premnath avatar
    5 posts
    Member since:
    Dec 2008

    Posted 23 Feb 2009 Link to this post

    For this problem you need to change the web.config setting under the  <httpHandlers> tag add the <add path="Telerik.Web.UI.WebResource.axd" .. Then it will work

  9. user1843640
    user1843640 avatar
    8 posts
    Member since:
    Oct 2006

    Posted 23 Feb 2009 Link to this post

    @ Premnath:   I checked and I already have this in my web.config

    Like Iggy, I have not had the opportunity to spend the time to attempt to isolate the problem.  The application is very large and is currently under development so a production environment is not impacted "yet". 

    The error pops up from time to time in a RadWindow and since it is infrequent it is very difficult to try to repro.
  10. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 24 Feb 2009 Link to this post

    Hi Premnath,

    If you use the RadScriptManager control in that page could you please try to replace it with a standard ScriptManager control and see if you can reproduce the problem?


    Regards,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  11. Peter Leitner
    Peter Leitner avatar
    16 posts
    Member since:
    Aug 2008

    Posted 06 May 2009 Link to this post

    I have the same problem, it occures sometimes when i run my project local in the debugger, and every time on the first application start in the production environment.
  12. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 06 May 2009 Link to this post

    Hello Peter,

    Could you please try run the page in non debug mode? I said that because there are some known issues when it is running in the 'debug' mode. Also, you can read this help page.

    I hope this helps.

    All the best,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  13. Peter Leitner
    Peter Leitner avatar
    16 posts
    Member since:
    Aug 2008

    Posted 12 May 2009 Link to this post

    Hello Fiko!

    running the app in non debug mode does not fix the problem. it looks like some timing problem during application startup.
    regards,
    peter 
  14. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 13 May 2009 Link to this post

    Hi Peter,

    In this case, could you please try to isolate the problem in a simple project and send it to us? You need to open a new support ticket, because you cannot attach attach files to a forum thread. You mentioned that you reproduce the problem every time in the production environment, that is why it will be best if you provide more information about the reproduction steps as well.

    Once we have a better view at your setup and the problem, we will do our best to provide a solution.

    Regards,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  15. Denny
    Denny avatar
    13 posts
    Member since:
    May 2008

    Posted 13 May 2009 Link to this post

    Hi I have the similar problem, same as Iggy, it errors quite often after i recompile my project. if I refresh the error screen, the error will go away. Would it be some sort of caching problem or could it be handle by put some error handling in the AddEvent Method? Here is my stack trace, hope this help:

    Description 
    ===========  
    Value cannot be null or empty.  
    Parameter name: handler  
     
    Exception Stack Trace 
    =====================  
    at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler)  
    at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)  
    at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor)  
    at Telerik.Web.UI.RadComboBox.DescribeComponent(ScriptComponentDescriptor descriptor)  
    at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)  
    at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()  
    at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)  
    at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()  
    at Neetrix.Web.Administration.Controls.nxRadComboBox.Render(HtmlTextWriter writer) in C:\Neetrix\Administration\Common\Controls\nxRadComboBox.cs:line 22  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at Neetrix.Web.Administration.Controls.nxFormItem.Render(HtmlTextWriter writer) in C:\Neetrix\Administration\Common\Controls\Form\nxFormItem.cs:line 81  
    at Neetrix.Web.Administration.Controls.nxForm.Render(HtmlTextWriter writer) in C:\Neetrix\Administration\Common\Controls\Form\nxForm.cs:line 100  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)  
    at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)  
    at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at System.Web.UI.Page.Render(HtmlTextWriter writer)  
    at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)  
    at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  
    at System.Web.UI.Page.Render(HtmlTextWriter writer)  
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
     
    Target Site 
    ===========  
    Void AddEvent(System.String, System.String)  
     
  16. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 14 May 2009 Link to this post

    Hi guys,

    Unfortunately without being able to reproduce the problem locally, we cannot be of much help. So far we see that the problem might be in the combobox, however it seems that the problem appears in specific scenario only.
    Please send us a sample project that reproduces this problem and we will check it right away.

    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  17. Matt Howeson
    Matt Howeson avatar
    8 posts
    Member since:
    May 2006

    Posted 18 May 2009 Link to this post

    We are also receiving the same error on unrelated pages within our application.  The common factor is definitely the application pool being recycled. 

    Our application is quite busy and it seems that the first few requests immediately after the application pool is recycled can generate this error.

    It is hard to reproduce this as it seems to happen only for requests received in the second that the application pool is being recycled.  Application pool recycled at 12:19:39pm today, first three requests for pages at 12:19:40pm all fail with the error detailed in this thread.  All requests following this are OK, the only time we receive this error is after a app ppol is recycled.  The page in use doesn't matter (all our pages uses telerik Radmenu, ScriptManager, and FormDecorator, many use RadGrid and Toolbar.  If a page is requested when the pool recycles this error is produced.

    I suggest that this might be reproduced if you run one of your demo applications, with 10 page requests per second simulated, and then recycle the Application pool under which the process is running.  I'm sure you will then be able to replicate the issue, by catching the error in the Application_OnError event, which is how we know about these errors.

    Thanks,

    Matt
  18. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 22 May 2009 Link to this post

    Hello Matt Howeson,

    I tried using Visual Studio Load test but I couldn't reproduce such exceptions. My tests ran for almost 5 minutes and I manually recycled IIS7's default application pool many times. However no exception was present in the event logs.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  19. Jay O'Brien
    Jay O'Brien avatar
    39 posts
    Member since:
    Dec 2008

    Posted 12 Aug 2009 Link to this post

    Has there been any progress with this error? I am seeing (my customers actually) the exact same error (occasionally), usually within the first few page loads right after installing our product.

    This is a tricky one to solve, because it only happens with our full product (a pretty large project), but never with small sample projects.

    I was just wondering if there has been any resolution or other tips.

    thanks!
  20. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 13 Aug 2009 Link to this post

    Hello Jay,

    We still have not been able to isolate the problem in a sample application - not even once, let alone in a reliable manner which will allow us to debug it.

    Best regards,
    Tervel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  21. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 08 Sep 2009 Link to this post

    Hi Tervel,

    Although I also can't easily provide reproducable steps I can also confirm that I'm getting the exact same occasional, seemingly random errors as the other posters.  The only thing I noticed which reading this thread is that our server is IIS6 not IIS7.  And, in our case, we've gone extensionless so ASP.NET is processing everything.  Here's the event from the logs:

    Event Type: Warning
    Event Source: ASP.NET 2.0.50727.0
    Event Category: Web Event 
    Event ID: 1309
    Date: 9/8/2009
    Time: 2:06:07 PM
    User: N/A
    Computer: H101502
    Description:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 9/8/2009 2:06:07 PM 
    Event time (UTC): 9/8/2009 6:06:07 PM 
    Event ID: a6fd725cdb3a4d1aa765c1b42624df78 
    Event sequence: 5 
    Event occurrence: 1 
    Event detail code: 0 
     
    Application information: 
        Application domain: (REDACTED) 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: (REDACTED) 
        Machine name: H101502 
     
    Process information: 
        Process ID: 23260 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
     
    Exception information: 
        Exception type: ArgumentException 
        Exception message: Value cannot be null or empty.
    Parameter name: handler 
     
    Request information: 
        Request URL: http://lambtonjrsting.ca/Default.aspx?Team=1015&ParentType=Team&ParentID=1015 
        Request path: /Default.aspx 
        User host address: 204.80.222.11 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
     
    Thread information: 
        Thread ID: 1 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler)
       at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)
       at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor)
       at Telerik.Web.UI.RadMenu.DescribeComponent(ScriptComponentDescriptor descriptor)
       at Telerik.Web.UI.RadDataBoundControl.Telerik.Web.IControl.DescribeComponent(ScriptComponentDescriptor descriptor)
       at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)
       at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors()
       at Telerik.Web.UI.RadDataBoundControl.System.Web.UI.IScriptControl.GetScriptDescriptors()
       at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)
       at System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl)
       at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors()
       at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Control.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Control.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at ASP.app_master_web_master.__RenderfrmMain(HtmlTextWriter __w, Control parameterContainer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
       at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Control.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Control.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Page.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
       at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
       at System.Web.UI.Page.Render(HtmlTextWriter writer)
       at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
       at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
     
    Custom event details: 

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

  22. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 Sep 2009 Link to this post

    Hi Shaun,

    Thank you for the information. Could you please tell me, have you seen this error in production? So far, we were able to reproduce error only after rebuilding a project / changing Dlls and it happens randomly. The error is also not directly related to the RadWindow control - it has happened with other controls as well. Also have you tried replacing RadAjax with MS UpdatePanels? Does the error appear again in such case?



    Regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  23. Matthew
    Matthew avatar
    3 posts
    Member since:
    Mar 2008

    Posted 29 Sep 2009 Link to this post

    Hello, Georgi Tunev,
     
      We just randomly encountered the exception reported above.  It occurred right after the application pool had started itself up and on the second page that the first user opened.  This was several days after the project and DLL's had been last rebuilt and released.
     
      We did not see that exception before, and have not seen it since.
     
      Note that we are using Microsoft UpdatePanel controls.
     
      We are using Telerik.Web.UI.dll version 2009.2.826.35.  Our site is running on IIS 6.

    Thanks & Regards,
    Matthew Wolfgang. 

    Message:  
    ======================================================== 
    Value cannot be null or empty. 
    Parameter name: handler 
     
    ========================================================   
    ========================================================     
      StackTrace:  
    ======================================================== 
       at System.Web.UI.ScriptComponentDescriptor.AddEvent(String name, String handler) 
       at Telerik.Web.ScriptObjectBuilder.DescribeComponent(Object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver) 
       at Telerik.Web.UI.ControlItemContainer.DescribeComponent(ScriptComponentDescriptor descriptor) 
       at Telerik.Web.UI.RadComboBox.DescribeComponent(ScriptComponentDescriptor descriptor) 
       at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) 
       at Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors() 
       at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) 
       at Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors() 
       at Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) 
       at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) 
       at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) 
       at Telerik.Web.UI.RadPane.RenderContents(HtmlTextWriter writer) 
       at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) 
       at Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) 
       at Telerik.Web.UI.RadSplitter.RenderContents(HtmlTextWriter writer) 
       at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) 
       at Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) 
       at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) 
       at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
       at System.Web.UI.Page.Render(HtmlTextWriter writer) 
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
     
    ======================================================== 





  24. Matt Howeson
    Matt Howeson avatar
    8 posts
    Member since:
    May 2006

    Posted 29 Sep 2009 Link to this post

    We are still receiving this issue regularly.  Occasionally this error immediately precedes the application not responding, and we have to manually recycle the application pool.  We have the application pool set to recycle every 4 hours, and we normally receive a few errors immediately after the recycle takes place.

    As with others in this thread we are running IIS6, not IIS7 as was mentioned in the previous tests.  I'm sure it is not as simple as this, but given that this is proving a repeating issue for many people, is there no way the Telerik Controls could specifically check for this issue in the functions listed in the stacktrace that has been provided

    Thanks,

    Matt
  25. Peter Leitner
    Peter Leitner avatar
    16 posts
    Member since:
    Aug 2008

    Posted 29 Sep 2009 Link to this post

    Do you use the EnableScriptCombine option of RadScriptManager? After removing this option, the error occured less often on our site.
  26. Matthew
    Matthew avatar
    3 posts
    Member since:
    Mar 2008

    Posted 29 Sep 2009 Link to this post

    Just a thought:
    Any chance the Telerik library uses some type of application caching that could be causing a race condition that in turn is causing this exception we're all seeing?
    I'm wondering because such caching would likely be initialized right when the application pool restarts itself, and that's when everyone seems to encounter this elusive error.

  27. Matthew
    Matthew avatar
    3 posts
    Member since:
    Mar 2008

    Posted 29 Sep 2009 Link to this post

    Peter,
      We are not explicitly setting RadScriptManager.EnableScriptCombine.

    Regards,
  28. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 30 Sep 2009 Link to this post

    Hi Matthew,

    Indeed, RadScriptManager.EnableScriptCombine property default value is true.

    Regarding the error message you received, a possible reason for it is the usage of nested UpdatePanels. Could you please confirm that this is not your case and you are not using RadAjax to update page content wrapped in UpdatePanels the same time?

    Additionally, I am afraid we could hardly get to the source of the issue with replicating it locally. Therefore I suggest that you open a formal support ticket and send us a stripped version of your scenario for further investigation.

    Greetings,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  29. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 06 Oct 2009 Link to this post

    I'm not sure if this thread is related or not, but I thought I'd post it here.  Yesterday I downloaded and installed the SEO Optimization Kit for IIS7 and ran it on a couple of my sites.  It found lots of violations, but one in particular caught my eye as a Telerik-related viloation.  Here are the details:

    The content type "application/x-javascript" does not match the content type of the HTTP response from URL "http://sailorshockey.ca/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_smPublic_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b". Recommended content type: "application/javascript"

    So again, I'm not sure if that's the problem or not but I just wanted to point it out here just in case.

    Shaun.
  30. Chris Behrens
    Chris Behrens avatar
    2 posts
    Member since:
    Oct 2009

    Posted 14 Oct 2009 Link to this post

    The purpose of this function (DescribeComponent) appears to be to transform a server tag in a way that will allow it to be fed into the .Net system for rendering tags.

    Without going into specifics, the stack trace indicates that the ScriptComponentDescriptor..::.AddEvent method is being called with either a zero-length or null string. Given the intermittent nature of the error that we're all getting, I think the source of the error must be occurring higher up in the logic, but I think that simply slapping a String.IsNullOrEmpty on this before calling AddEvent will fix the problem...
Back to Top