Copied to clipboard

Flag this post as spam?

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


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    May 20, 2010 @ 11:26
    Darren Ferguson
    0

    Value cannot be null

    Can anyone provide any insight into why I am getting the following when hitting my homepage http://www.darren-ferguson.com/

    Umbraco 4.0.3 - Win Server 23k, SQL 2008.

     

    Server Error in '/' Application.
    Value cannot be null.
    Parameter name: value
    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: value

    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: value]
       System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic) +11229394
       System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +146
       System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback) +126
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +251
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +129
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +115
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +89
       umbraco.cms.businesslogic.language.Language..ctor(Int32 id) +255
       umbraco.cms.businesslogic.web.Domain.initDomain(Int32 id) +304
       umbraco.cms.businesslogic.web.Domain.<GetDomains>b__0() +338
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +137
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +129
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +115
       umbraco.cms.businesslogic.cache.Cache.GetCacheItem(String cacheKey, Object syncLock, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem) +89
       umbraco.cms.businesslogic.web.Domain.GetDomains() +187
       umbraco.cms.businesslogic.web.Domain.GetDomain(String DomainName) +54
       umbraco.cms.businesslogic.web.Domain.Exists(String DomainName) +9
       umbraco.requestHandler.CreateXPathQuery(String url, Boolean checkDomain) +240
       umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) +560
       umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +1138
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnPreInit(EventArgs e) +11041726
       System.Web.UI.Page.PerformPreInit() +42
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1256


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
    Request Details
    Session Id:    tn5i3y45rw3lbh55pudbih45    Request Type:    GET
    Time of Request:    20/05/2010 10:20:48    Status Code:    500
    Request Encoding:    Unicode (UTF-8)    Response Encoding:    Unicode (UTF-8)
    Trace Information
    Category    Message    From First(s)    From Last(s)
    registerIapplications    + Adding application 'FergusonMoriyama.BrokenLinkCheckerForUmbraco.PublishEvent       
    registerIapplications    + Adding application 'FergusonMoriyama.Umbraco.DocumentPublishTweet.Event    0.0023169    0.002317
    registerIapplications    + Adding application 'umbraco.presentation.nodeFactory.UmbracoSiteMapProviderAccessUpdate    0.0636997    0.061383
    registerIapplications    + Adding application 'Umbraco.Forms.Core.Services.WorkflowServiceApplication    0.0913415    0.027642
    aspx.page    Begin PreInit    3.7635213    3.672180
    umbracoInit    handling request    3.7756782    0.012157
    request handler    current url ''    4.0919016    0.316223
    Unhandled Execution Error   
    Value cannot be null.
    Parameter name: value
      at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
      at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
      at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.language.Language..ctor(Int32 id)
      at umbraco.cms.businesslogic.web.Domain.initDomain(Int32 id)
      at umbraco.cms.businesslogic.web.Domain.<GetDomains>b__0()
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemRemovedCallback refreshAction, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
      at umbraco.cms.businesslogic.web.Domain.GetDomains()
      at umbraco.cms.businesslogic.web.Domain.GetDomain(String DomainName)
      at umbraco.cms.businesslogic.web.Domain.Exists(String DomainName)
      at umbraco.requestHandler.CreateXPathQuery(String url, Boolean checkDomain)
      at umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url)
      at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
      at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
      at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
      at System.EventHandler.Invoke(Object sender, EventArgs e)
      at System.Web.UI.Page.OnPreInit(EventArgs e)
      at System.Web.UI.Page.PerformPreInit()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    4.2213058    0.129404
    Control Tree
    Control UniqueID    Type    Render Size Bytes (including children)    ViewState Size Bytes (excluding children)    ControlState Size Bytes (excluding children)
    __Page    ASP.default_aspx    0    0    0
    Session State
    Session Key    Type    Value
    Application State
    Application Key    Type    Value
    umbracoUrl    System.String    www.darren-ferguson.com:80/umbraco
    umbracoNeedConfiguration    System.Boolean    False
    Request Cookies Collection
    Name    Value    Size
    __utma    3535525.1051270344.1273522287.1273522287.1273522287.1    60
    __utmz    (3535525.1273522287.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none))      75
    UserContext    9ce76de7-3169-42c0-97a0-5929babf26a3    48
    ASP.NET_SessionId    tn5i3y45rw3lbh55pudbih45    42
    updateCheck    1    13
    Response Cookies Collection
    Name    Value    Size
    Headers Collection
    Name    Value
    Cache-Control    max-age=0
    Connection    keep-alive
    Keep-Alive    115
    Content-Length    0
    Accept    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Charset    ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Accept-Encoding    gzip,deflate
    Accept-Language    en-gb,en;q=0.5
    Cookie    __utma=3535525.1051270344.1273522287.1273522287.1273522287.1; __utmz=3535525.1273522287.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); UserContext=9ce76de7-3169-42c0-97a0-5929babf26a3; ASP.NET_SessionId=tn5i3y45rw3lbh55pudbih45; updateCheck=1
    Host    www.darren-ferguson.com
    User-Agent    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
    Response Headers Collection
    Name    Value
    X-AspNet-Version    2.0.50727
    Cache-Control    private
    Content-Type    text/html
    Form Collection
    Name    Value
    Querystring Collection
    Name    Value
    Server Variables
    Name    Value
    ALL_HTTP    HTTP_CACHE_CONTROL:max-age=0 HTTP_CONNECTION:keep-alive HTTP_KEEP_ALIVE:115 HTTP_CONTENT_LENGTH:0 HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING:gzip,deflate HTTP_ACCEPT_LANGUAGE:en-gb,en;q=0.5 HTTP_COOKIE:__utma=3535525.1051270344.1273522287.1273522287.1273522287.1; __utmz=3535525.1273522287.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); UserContext=9ce76de7-3169-42c0-97a0-5929babf26a3; ASP.NET_SessionId=tn5i3y45rw3lbh55pudbih45; updateCheck=1 HTTP_HOST:www.darren-ferguson.com HTTP_USER_AGENT:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
    ALL_RAW    Cache-Control: max-age=0 Connection: keep-alive Keep-Alive: 115 Content-Length: 0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding: gzip,deflate Accept-Language: en-gb,en;q=0.5 Cookie: __utma=3535525.1051270344.1273522287.1273522287.1273522287.1; __utmz=3535525.1273522287.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); UserContext=9ce76de7-3169-42c0-97a0-5929babf26a3; ASP.NET_SessionId=tn5i3y45rw3lbh55pudbih45; updateCheck=1 Host: www.darren-ferguson.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
    APPL_MD_PATH    /LM/W3SVC/1/ROOT
    APPL_PHYSICAL_PATH    D:\www\df_com\trunk\www\
    AUTH_TYPE     
    AUTH_USER     
    AUTH_PASSWORD     
    LOGON_USER     
    REMOTE_USER     
    CERT_COOKIE     
    CERT_FLAGS     
    CERT_ISSUER     
    CERT_KEYSIZE     
    CERT_SECRETKEYSIZE     
    CERT_SERIALNUMBER     
    CERT_SERVER_ISSUER     
    CERT_SERVER_SUBJECT     
    CERT_SUBJECT     
    CONTENT_LENGTH    0
    CONTENT_TYPE     
    GATEWAY_INTERFACE    CGI/1.1
    HTTPS    off
    HTTPS_KEYSIZE     
    HTTPS_SECRETKEYSIZE     
    HTTPS_SERVER_ISSUER     
    HTTPS_SERVER_SUBJECT     
    INSTANCE_ID    1
    INSTANCE_META_PATH    /LM/W3SVC/1
    LOCAL_ADDR    109.228.0.87
    PATH_INFO    /default.aspx
    PATH_TRANSLATED    D:\www\df_com\trunk\www\default.aspx
    QUERY_STRING     
    REMOTE_ADDR    109.228.0.87
    REMOTE_HOST    109.228.0.87
    REMOTE_PORT    56757
    REQUEST_METHOD    GET
    SCRIPT_NAME    /default.aspx
    SERVER_NAME    www.darren-ferguson.com
    SERVER_PORT    80
    SERVER_PORT_SECURE    0
    SERVER_PROTOCOL    HTTP/1.1
    SERVER_SOFTWARE    Microsoft-IIS/7.5
    URL    /default.aspx
    HTTP_CACHE_CONTROL    max-age=0
    HTTP_CONNECTION    keep-alive
    HTTP_KEEP_ALIVE    115
    HTTP_CONTENT_LENGTH    0
    HTTP_ACCEPT    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_CHARSET    ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_ACCEPT_ENCODING    gzip,deflate
    HTTP_ACCEPT_LANGUAGE    en-gb,en;q=0.5
    HTTP_COOKIE    __utma=3535525.1051270344.1273522287.1273522287.1273522287.1; __utmz=3535525.1273522287.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); UserContext=9ce76de7-3169-42c0-97a0-5929babf26a3; ASP.NET_SessionId=tn5i3y45rw3lbh55pudbih45; updateCheck=1
    HTTP_HOST    www.darren-ferguson.com
    HTTP_USER_AGENT    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
    Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    May 20, 2010 @ 11:31
    Casey Neehouse
    0

    something to do with languages?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    May 20, 2010 @ 11:32
    Darren Ferguson
    0

    I think it is to do with languages I just accidentally deleted and recreated English US...

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    May 20, 2010 @ 11:33
    Lee Kelleher
    0

    Scary!  Sorry for the obvious questions... have you changed anything recently? Thinking that a Language (from Settings section) has been deleted?

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    May 20, 2010 @ 11:35
    Lee Kelleher
    0

    (cross-posted) ... Darren I did this once... you can't re-create the language, as the database ID has been incremented, so anything associated with the original language will break (throw exception) ... see if you can re-seed the database table for languages.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    May 20, 2010 @ 11:37
    Darren Ferguson
    1

    Thanks, just did

     update umbracoDomains set domainDefaultLanguage =2

    where 2 is the id of my new language.....

    seems to have fixed.

  • Ian Smedley 97 posts 192 karma points
    May 20, 2010 @ 11:41
    Ian Smedley
    0

    I can say, with some certainty that I have seen this before.

    I really wish my memory served me better, because I am sure I've seen this, but I can't remember the specific solution, have you tried the usual "umbraco checklist"

    Restart IIS

    Delete Umbraco.config from the \data folder

    Republish nodes

    Restart IIS again

    Modify the Web.config file

     

  • Jason 5 posts 25 karma points
    Sep 29, 2011 @ 05:16
    Jason
    0

    i just got this error a fresh umbraco installation and I discovered it was because i was missing the web.config file.  Somehow it didn't make it's way over in the upload. 

  • Ricardo Cañizares 1 post 21 karma points
    Dec 26, 2012 @ 16:45
    Ricardo CaƱizares
    0

    Hi!

     

    I had de same problem, the reason is the file /config/applications.config was empty, I replace it with and old backup and everything is going fine now

     

     

  • Alex Skrypnyk 6134 posts 23953 karma points MVP 8x admin c-trib
    Mar 11, 2013 @ 11:25
    Alex Skrypnyk
    0

    Hi

    I had the same problem, just upgrade umbraco to latest version )

Please Sign in or register to post replies

Write your reply to:

Draft