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
Original issue reported on code.google.com by
troy.whi...@gmail.com
on 5 Sep 2010 at 11:51