Cannot load Sitefinity admin after upgrade to v5

Posted by Community Admin on 03-Aug-2018 18:19

Cannot load Sitefinity admin after upgrade to v5

All Replies

Posted by Community Admin on 29-Mar-2012 00:00

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

Posted by Community Admin on 29-Mar-2012 00:00

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 ?

Posted by Community Admin on 30-Mar-2012 00:00

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.

Posted by Community Admin on 03-Apr-2012 00:00

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:

www.sitefinity.com/.../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

This thread is closed