1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Cannot load Sitefinity admin after upgrade to v5

Cannot load Sitefinity admin after upgrade to v5

4 posts, 0 answered
  1. George
    George avatar
    1 posts
    Registered:
    29 Apr 2011
    29 Mar 2012
    Link to this post
    Just upgraded a site from version 4.1 to 5. The public side of the site is working fine however if I try to go to the admin (www.mydomain/Sitefinity) I get the following error:

    Object reference not set to an instance of an object.
    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.NullReferenceException: Object reference not set to an instance of an object.

    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: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       Telerik.Sitefinity.Security.Claims.ClaimsResolver.GetBasicAuthHeader(HttpContext context) +34
       Telerik.Sitefinity.Security.Claims.ClaimsResolver.SetAuthenticationHeaders(HttpContext context, Boolean includeBasicAuth) +39
       Telerik.Sitefinity.Security.Claims.ClaimsResolver.SendUnauthorizedResponse(HttpContext context, Boolean returnLoginForm, Boolean includeBasicAuth) +58
       Telerik.Sitefinity.Security.Claims.ClaimsResolver.SendUnauthorizedResponse(HttpContextBase context, Boolean returnLoginForm, Boolean includeBasicAuth) +128
       Telerik.Sitefinity.Security.Claims.ProtectedRoute.GetRouteData(HttpContextBase httpContext) +285
       System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +285
       System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +60
       System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
  2. MB
    MB avatar
    302 posts
    Registered:
    09 Jan 2005
    29 Mar 2012
    Link to this post
    I didn't think that direct upgrade from 4.1 to 5.0 was supported ?

    Did you upgrade 4.1 -> 4.3/4.4 -> 5.0 ?
  3. olav
    olav avatar
    76 posts
    Registered:
    22 Jan 2007
    30 Mar 2012
    Link to this post
    Hi, got the same issue upgrading from 4.2.
    I posted to another thread, found this one just too late, instead trying Google.
    Anyway, good to see that it is not meant to work in v5.0. A warning from The Project Manager would be nice.
    Cheers.
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    03 Apr 2012
    Link to this post
    Hello,

    The problem is most likely related to the configuration files of your project ( the webconfig ) due to the changes introduced in Sitefinity 5, regarding the new claims authentication methods. Please navigate to the following thread, in which there are number of suggestions and sample configuration files, which might be useful to you:

    http://www.sitefinity.com/devnet/forums/sitefinity/bugs-issues/sf-4-4-to-5-0-upgrade-error.aspx


    On a side note, upgrading to 5.0 is supported only for 4.3 and 4.4. If you are using older versions of Sitefinity, you might need to upgrade to 4.3 or 4.4 first.

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered