bishop335 / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Upgrade Error Subtext Version 1.9.5.177 to 2.5.1.20 #261

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am following the subtext screencast and get an error when trying to run an 
upgraded site via Visual Studio 2008 to verify the upgrade. I am pointing the 
web.config to a local restored copy of my production database to test against. 
My plan was to proof it locally and then upgrade the production site on the 
server. The blog is currently set to use a custom skin, not sure if that is 
causing the problem.

I get the page that says the This blog is being upgraded please be patient, 
when I click the please click here to complete the upgrade I get the following 
error:

URL in the Browser = http://localhost:2704/Blog_Upgraded_2.5/HostAdmin/Upgrade/

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.]
   Subtext.Framework.Configuration.SkinConfig.GetCurrentSkin(Blog blog, HttpContextBase context) +63
   Subtext.Web.UI.WebControls.MasterPage.get_TemplateFile() +56
   Subtext.Web.UI.WebControls.MasterPage.BuildMasterPage() +16
   Subtext.Web.UI.WebControls.MasterPage.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET 
Version:2.0.50727.3614 

Original issue reported on code.google.com by troy.whi...@gmail.com on 5 Sep 2010 at 11:51

GoogleCodeExporter commented 8 years ago
Can you change the skin your instance is using to one of the default skins? If 
so do you still have the problem?

Si

Original comment by Simon.JPhilp on 20 Apr 2011 at 2:34