x First time here? Check out the FAQ
  • Avatar20posts60karma

    Admin login gives Value cannot be null

    Morten started this topic December 12, 2012 @ 11:41, Go directly to the topic solution

    So i Deployed an umbraco for a client and everything looks fine untill they updated some content, and now the admin section gives and error right after loggin in.


    Server Error in '/' Application.

    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.SingleOrDefault(IEnumerable`1 source, Func`2 predicate) +2535654

       umbraco.BusinessLogic.User.GetApplications() +273

       umbraco.cms.presentation._umbraco.Page_Load(Object sender, EventArgs e) +63

       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51

       System.EventHandler.Invoke(Object sender, EventArgs e) +0

       System.Web.UI.Control.OnLoad(EventArgs e) +92

       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14

       System.Web.UI.Control.LoadRecursive() +54

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

    So asumming that this is a caching problem i deletede the umbraco.config file, edited the web.config and ran the http://ajax.googleapis.com/ajax/libs/jquery/"+i+"/jquery.min.js",f.onload=f.onreadystatechange=function(){e||(o=this.readyState)&&o!="loaded"&&o!="complete"||(r((u=n.jQuery).noConflict(1),e=1),u(f).remove())},t.documentElement.childNodes[0].appendChild(f))})(window,document,"1.8.0",function(n){var i="Oops! something has gone wrong. Are you logged in?",r={type:"POST",url:"/umbraco/dialogs/republish.aspx?xml=true",success:function(n,t,r){if(!n.length||n.indexOf("umbraco/logout.aspx")!==-1){this.error(r,t,i);return}alert("Whoop! Cache cleared.")},error:function(n,t,r){r.length||(r=i),alert(r)}};n.ajax(r)});" href="chrome-devtools://devtools/devtools.html?docked=true&dockSide=bottom&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)" target="_blank">/umbraco/dialogs/republish.aspx?xml=true url.

    but the problem seems to not be effekted by caching.


    any ideas?




  • Abtin Ghods posted this reply December 20, 2012 @ 09:11

    Im having the same issue on my local with Umbraco version 4.11.1 

    I dont remmebr having updated any content the other day when everything was working. Today just when i tried to loging to admin im keep getting this error!

  • Abtin Ghods posted this reply December 20, 2012 @ 09:52

    Refer to this post


    Fixed my issue (after copying config file from my backup)

  • Morten posted this reply December 20, 2012 @ 10:25

    Oh, i totally forgot to get back to this one, but yes it semse that multiple files had been corrupted, and unreadeble or no longer beening .config files, i did a full upload of systems files for umbraco and everthing worked agian.

  • Hardball Consulting posted this reply January 10, 2013 @ 07:30

    I can confirm that I had the same problem and redeploying the config files from backup resolved it for me too.

    Thanks Abtin & Morten!


  • Ivan Thorsen posted this reply February 7, 2013 @ 12:36

    I have got the same error on 4.9.0 as well - and solved the problem by redeploying the config files.

    This has never occured on our primary webhotel partner (Scannet) and this happens after the site has been online for about 6 months on another webhotel partner (Binero)

    Anybody knows why this happens?

  • Fredrik Rofors posted this reply June 11, 2014 @ 02:45

    I got the same error on Umbraco v6.1.6 (Assembly version: 1.0.5021.24867).

    The site had been running in production for 4 months without any problems (or re-deploys).

    Looking at the config files I could see that the application.config file was empty (for unknown reasons), so re-deploying that file solved the problem.


  • Melissa Snell posted this reply July 17, 2014 @ 04:04

    I had the same error on a live site v6.1.3. Some of the config files were 0Kb for some reason e.g. Application and Trees. REplaced files and was able to log in to CMS without error

Please login or Sign up To post replies