I just upgraded to the latest forum module... Now I get the following message:
A critical error has occurred.
The type initializer for 'DotNetNuke.Modules.Forum.DataProvider' threw an exception.
Here is the log:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2be6cdb9-8bec-4f86-a2d3-6dd55dd6af71
InnerException: The type initializer for 'DotNetNuke.Modules.Forum.DataProvider' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Activator.CreateInstance
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The type initializer for 'DotNetNuke.Modules.Forum.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Forum.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 DotNetNuke.Modules.Forum.DataProvider.CreateProvider() at DotNetNuke.Modules.Forum.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Forum.GroupController.GroupsGetByModuleID(Int32 ModuleId) at DotNetNuke.Modules.Forum.GroupController.GroupGetAllAuthorized(Int32 ModuleId, Int32 UserID, Boolean NoLinkForums) at DotNetNuke.Modules.Forum.Groups.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() at DotNetNuke.Modules.Forum.DNNForum.Initialize() at DotNetNuke.Modules.Forum.ForumBaseControl.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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d01fa5e6-2ac8-4609-a81c-83cb988cd112
InnerException: The type initializer for 'DotNetNuke.Modules.Forum.DataProvider' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Activator.CreateInstance
StackTrace:
Message: System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Forum.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 DotNetNuke.Modules.Forum.DataProvider.CreateProvider() at DotNetNuke.Modules.Forum.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Forum.ModuleSecurity..ctor(Int32 moduleId, Int32 tabId, Int32 ForumId, Int32 UserID) at DotNetNuke.Modules.Forum.Utils.PerUserModuleActions(Config ForumConfig, PortalModuleBase ModBase) at DotNetNuke.Modules.Forum.Container.get_ModuleActions() at DotNetNuke.Entities.Modules.PortalModuleBase.LoadActions() at DotNetNuke.Entities.Modules.PortalModuleBase.get_Actions() at DotNetNuke.UI.Skins.Skin.ProcessActionControls(PortalModuleBase objPortalModuleBase, Control objContainer) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings)