Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsDNN 4.9.5 - Upgrade Events from 04.00.02 to 05.00.03DNN 4.9.5 - Upgrade Events from 04.00.02 to 05.00.03
Previous
 
Next
New Post
9/8/2011 11:08 AM
 
Hi!
I'm in the process of updating my DNN version from 4.9.5 to 6.x.
As part of this I'm upgrading all my modules to the newest versions for DNN 4.9.5.

After upgrading Events I got into trouble. More on this in a later post.

I have restored my database and copied back the DesktopsModules\Events folder.

Even after this I get error when moving to a page with the Events module. The error is shown below.

What am I missing here? What did I not restore?

I have deleted the host cache and restarted the application.

Please help!
----------------------------------------------------------------------------------------------------------
Stack Trace:

[NullReferenceException: Objektreferanse er ikke satt til en objektforekomst.]
DotNetNuke.Modules.Events.EventBase.SetTheme(Panel ctlPnlTheme) +446
DotNetNuke.Modules.Events.Events.Page_Load(Object sender, EventArgs e) +25
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

[PageLoadException: Objektreferanse er ikke satt til en objektforekomst.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +325
DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +380
System.Web.UI.TemplateControl. (EventArgs e) +8702090
System.Web.UI.Page.HandleError(Exception e) +84
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420
--------------------------------------------------------------------------------------------------------------------------------------------------

Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
New Post
9/8/2011 11:14 AM
 
Hi Arnt,

If you restored your database, presumably after just an Events module update, you would also need to restore the events module dlls into the bin directory. I think in version 4.0.2 there are three of them. If you can't identify them, please give me a shout back.

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/8/2011 11:53 AM
 
Thanks Roger for answering my stupid question. How could I forget the dlls! :) :)
Now it works as before. :)

So, why did I have to roll back the upgrade:
We are running a hosting business with 100 sites as child portals and quite a few uses the Events module.
After upgrade we got errors when moving to a page with the Events module.
The error was something like: "Cannot convert the value 04 two an Integer value...".

If I knew witch values, perhaps I could correct them in the database?

Can you help with this, even from these spare information? :)

Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
New Post
9/8/2011 11:56 AM
 
Hi Arnt,

That is a new one on me. Can you provide a more accurate copy of the error? Do you have a test setup you can try it out on?

Thanks
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
9/8/2011 12:05 PM
 
Yes, this is the error from my test setup:
Stack Trace:

[FormatException: Inndatastrengen hadde ugyldig format.]
Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +204
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +99

[InvalidCastException: Konvertering fra strengen 04. til typen Integer er ikke gyldig.]
Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +257
DotNetNuke.Modules.Events.EventInfoHelper.SetDefaultModuleSettings(Int32 ModuleID, Int32 TabID, Page Page, String LocalResourceFile) +713
DotNetNuke.Modules.Events.Events.LoadModuleControl() +213

[ModuleLoadException: Feil: Kalender er for øyeblikket ikke tilgjengelig.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) +410
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) +86
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) +7
DotNetNuke.Modules.Events.Events.LoadModuleControl() +1750
DotNetNuke.Modules.Events.Events.Page_Load(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

[PageLoadException: Feil: Kalender er for øyeblikket ikke tilgjengelig.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +324
DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +379
System.Web.UI.TemplateControl. (EventArgs e) +8702090
System.Web.UI.Page.HandleError(Exception e) +84
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420

Arnt O. Kvannefoss Software Consult AS Microsoft Certified Partner www.SwcWeb.net www.pamelding.net www.softwareconsult.no
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsDNN 4.9.5 - Upgrade Events from 04.00.02 to 05.00.03DNN 4.9.5 - Upgrade Events from 04.00.02 to 05.00.03


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out