Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Error after upgradering to 9.13.1

Error after upgradering to 9.13.1

Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

After I upgraded a local solution to 9.13.1 and start up the app pool I get an error saying "Data is Null. This method or property cannot be called on Null values."

Looking at the stacktrace you can see that its somethinh with the startup. 

[SqlNullValueException: Data is Null. This method or property cannot be called on Null values.]
   System.Data.SqlClient.SqlBuffer.get_Boolean() +2925525
   Dynamicweb.Frontend.UrlHandling.UrlPageTreeHelper.BuildPageUrlTree() +714
   Dynamicweb.Admin.GlobalAsaxHandlerProxy.StartDynamicweb(Object sender, EventArgs e) +734
   Dynamicweb.Admin.GlobalAsaxHandlerProxy.EnsureDynamicwebStarted(Object sender, EventArgs e) +119
   Dynamicweb.Admin.GlobalAsaxHandlerProxy.Application_BeginRequest(Object sender, EventArgs e) +139
   Dynamicweb.Admin.Global.Application_BeginRequest(Object sender, EventArgs e) +73
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93

I have stripped out our custom code and replcade our web.config with the one from the release package. I have tried to lower the version numbers to force a "rerun updates".

Any ideas?

Regards / Aki

 


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi,

Good catch! I was able to reproduce the bug on one my test solution. The cause seems to be related to not possibility to render content output by 'LastAndFound' feature (at least in my case). I've submitted task 6740 to fix the bug. Workaround is downgrade the solution (e.g. to 9.13.0), find 'LostAndFound' folder(s) in content area(s) and delete it in regular way. Upon it's performed the moving to 9.13.1 is done correctly. Please, comment your results.

BR, Oleg QA 

Votes for this answer: 1
 
Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

Thanks for the input. I'll try it. Even though I checked the page table and saw the 'LostAndFound' page and saw the it had nulls in some bit fields so I deleted it from the database but it reappeared when I recycled the app pool. But maybe it works if its deleted from the backend. 

Regards / Aki

 

 

 

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Yup, you should delete the content using backend but not from database directly.

BR, Oleg QA

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Hi again, 

Downgrading to 9.13.0, deleteing the "LostAndFound" and the upgrading to 9.13.1 seems to have done the trick. 

Thanks for your fast response. 

Regards / Aki

 

You must be logged in to post in the forum