Hi, after upgrading I have several errors - I've tried from both 9.1.x to 9.2 and now to latest 9.3.x Yes i did unblock the downloaded zip and cleared cache locally - and cleared the .net assembly cache on the server.
1. Some date casting in regards to reading settings is not working anymore - might be the reason for all the following errors?
Could not cast 07.11.2017 08.44.37 to property CreatedOn of type System.DateTime
2. Cannot add extensions anymore - gives error message below.
3. Reports module gives an exception (upgraded to the latest from git before upgrading - 6.1)
Anyone experienced the same and resolved it?
//A
NR1
AbsoluteURL
:/Default.aspx
DefaultDataProviderotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:124ef57b-e6d4-44c2-81c9-cae388219494
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:OGA9FoDx0ZP8ykyqGnJ5uu6Q4tA=
Message:Could not cast 07.11.2017 08.44.37 to property CreatedOn of type System.DateTime
StackTrace:
at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.DeserializeProperty(T settings, PropertyInfo property, ParameterAttributeBase attribute, String propertyValue) at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.<>c__DisplayClass13_0.b__0(ParameterMapping mapping) at DotNetNuke.Collections.CollectionExtensions.ForEach[TType](IEnumerable`1 source, Action`1 action) at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.Load(CacheItemArgs args) at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
InnerMessage:String was not recognized as a valid DateTime.
InnerStackTrace:
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.Convert.ToDateTime(String value, IFormatProvider provider) at System.String.System.IConvertible.ToDateTime(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.DeserializeProperty(T settings, PropertyInfo property, ParameterAttributeBase attribute, String propertyValue)
Source:DotNetNuke
FileName:
FileLineNumber:0
FileColumnNumber:0
NR2
To begin installation, upload the package by dragging the file into the field below.
An unknown error has occured. Please check your installation zip file and try again. Common issues with bad installation files:
NR3
AbsoluteURL:/Default.aspx
ExceptionGUID:04893a54-26c7-4833-9f2f-e27063834fae
AssemblyVersion:9.2.0
PortalId:0
UserId:3
TabId:20
RawUrl:/
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
ExceptionHash:bbi+o6vSsOKfqQdvavvWuxPfCzw=
Message:Object reference not set to an instance of an object.
InnerMessage:Object reference not set to an instance of an object.
at DotNetNuke.Modules.Reports.ReportsController.GetReport(ModuleInfo ModuleInfo) at DotNetNuke.Modules.Reports.ViewReports.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control. (EventArgs e) at DotNetNuke.Entities.Modules.PortalModuleBase. (EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:
Method:
So, I have the same problem like Audun. Trying to upgrade DNN 7.2.1. to the latest version, DNN 9.8.0. I upgraded Reports module to the latest from Github (6.2.1.), tried first to install it after I upgraded DNN and before, like Will suggested, but the error is still there: AbsoluteURL:/Default.aspx DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke ExceptionGUID:4868b064-74d8-4ffc-9f69-ac540cc2d382 AssemblyVersion:9.2.0 PortalId:0 UserId:1 TabId:93 RawUrl:/ Referrer:/Default.aspx?tabid=93&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0 UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 ExceptionHash:in/O8WCJa46GUXsW+6mYIjuu6cg= Message:Object reference not set to an instance of an object. StackTrace: InnerMessage:Object reference not set to an instance of an object. InnerStackTrace: at DotNetNuke.Modules.Reports.ReportsController.GetReport(ModuleInfo ModuleInfo) at DotNetNuke.Modules.Reports.ViewReports.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at DotNetNuke.Entities.Modules.PortalModuleBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Source: FileName: FileLineNumber:0 FileColumnNumber:0 Method: Any suggestions? Tested on DNN 9.2.0. too, but no changes..
It also breaks my whole page with Reports module on it.
Edit: Error prior to the last one is:
DotNetNuke.Services.Exceptions.Exceptions - System.InvalidCastException: Could not cast 23.12.2020. 15:08:33 to property CreatedOn of type System.DateTime ---> System.FormatException: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.Convert.ToDateTime(String value, IFormatProvider provider) at System.String.System.IConvertible.ToDateTime(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at DotNetNuke.Entities.Modules.Settings.SerializationManager.DeserializeValue(String propertyValue, String serializer, Type destinationType) at DotNetNuke.Entities.Modules.Settings.SerializationManager.DotNetNuke.Abstractions.ISerializationManager.DeserializeProperty[T](T myObject, PropertyInfo property, String propertyValue, String serializer) --- End of inner exception stack trace --- at DotNetNuke.Entities.Modules.Settings.SerializationManager.DotNetNuke.Abstractions.ISerializationManager.DeserializeProperty[T](T myObject, PropertyInfo property, String propertyValue, String serializer) at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.DeserializeProperty(T settings, PropertyInfo property, ParameterAttributeBase attribute, String propertyValue) at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.<>c__DisplayClass16_0.b__0(ParameterMapping mapping) at DotNetNuke.Collections.CollectionExtensions.ForEach[TType](IEnumerable`1 source, Action`1 action) at DotNetNuke.Entities.Modules.Settings.SettingsRepository`1.Load(CacheItemArgs args) at DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromRuntimeCache(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)
Well, I tried with directly upgrade and with suggested path and it's the same.
What I did notice is that when I remove Reports module and add it as a new module, with completly the same settings and SQL query, it works and the page is just as it should be. I have few more Reports modules that are not working if I don't re-add them.
Edit: debug dll say:
[ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=120&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0 System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Reports.ReportsController.GetReport(ModuleInfo ModuleInfo) in C:\DDrive\Develop\GitHub\DNN.Reports\Components\ReportsController.cs:line 155 at DotNetNuke.Modules.Reports.ViewReports.Page_Load(Object sender, EventArgs e) in C:\DDrive\Develop\GitHub\DNN.Reports\ViewReports.ascx.cs:line 288
Anyone, anything?
I have so many Reports modules on site, it's not that practical to delete every one of them and then add them again..
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.