Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Critical error on page after upgrading DMX 3.5.6 to 5.3.6
Last Post 02/26/2011 7:55 PM by Dave Ingraham. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Dave Ingraham
New Member
New Member
Posts:54


--
02/19/2011 10:46 PM
Hi Peter,
I just attempted to upgrade DMX 3.5.6 to 5.3.6. The installation appeared to go fine. No errors where thrown when installing. However, when I go to the page where I'd placed the module, there is an error that says:

A critical error has occurred.
The type initializer for 'Bring2mind.DNN.Modules.DMX.Data.DataProvider' threw an exception.

The container for the module is still there, but when I attempt to view it's settings, I get the following error:

Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'Bring2mind.DNN.Modules.DMX.Data.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Bring2mind.DNN.Modules.DMX.Data.DataProvider' threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) at Bring2mind.DNN.Modules.DMX.Data.DataProvider.ᜀ() at Bring2mind.DNN.Modules.DMX.Data.DataProvider..cctor() --- End of inner exception stack trace --- at Bring2mind.DNN.Modules.DMX.Data.DataProvider.Instance() at Bring2mind.DNN.Modules.DMX.Business.EntriesController.GetEntry(Int32 PortalId, Int32 EntryId, String Locale, Boolean IncludePermissions, Boolean IncludeAttributes) at Bring2mind.DNN.Modules.DMX.Common.EntryUtils.GetCollectionNodeChain(Int32 PortalId, Int32 CollectionId) at Bring2mind.DNN.Modules.DMX.Controls.FileDropDownSelect.ᜀ() at Bring2mind.DNN.Modules.DMX.Controls.FileDropDownSelect.DataBind() at Bring2mind.DNN.Modules.DMX.Controls.Admin.Settings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Any ideas on what this means?

Dave
Dave Ingraham
New Member
New Member
Posts:54


--
02/19/2011 10:50 PM
Also running DNN 5.4.2
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
02/22/2011 9:52 PM
Hi Dave,

Make sure you delete the DMX.SqlDataProvider.dll from the bin folder. My guess is that it didn't get deleted as it had become read only.

Peter
Dave Ingraham
New Member
New Member
Posts:54


--
02/25/2011 6:00 PM
Thanks Peter. I'm going to try to upgrade again this weekend. I'll let you know how it goes.

Dave
Dave Ingraham
New Member
New Member
Posts:54


--
02/26/2011 7:55 PM
Success! Thanks for your help, Peter.

Dave
You are not authorized to post a reply.