Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rik Hodiamont 56 posts 156 karma points
    Jan 12, 2015 @ 16:27
    Rik Hodiamont
    0

    Usercontrol error: Value cannot be null. Parameter name: source

    Hi!

    I build an usercontrol in Visual Studio Express 2013. I tested the usercontrol on localhost and it works fine.

    I uploaded it to Umbraco 7.1.6. I included the macro in the richtext editor and in the template. In both cases I got the same error:

    
    Value cannot be null.
    Parameter name: source
    
    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: source
    
    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: source]
       System.Linq.Enumerable.Count(IEnumerable`1 source) +254
       Profiel.Profiel.Page_Load(Object sender, EventArgs e) +666
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
       System.Web.UI.Control.OnLoad(EventArgs e) +92
       System.Web.UI.Control.LoadRecursive() +54
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Control.LoadRecursive() +145
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
    
    

    I added usercontrols before but I don't know where to start with this error. Thanks in advance.

    Rik

Please Sign in or register to post replies

Write your reply to:

Draft