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 ForumsForumForumHelp... problem on upgrade.Help... problem on upgrade.
Previous
 
Next
New Post
10/25/2007 1:33 PM
 

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)

 

 

 

 

 
New Post
10/25/2007 8:57 PM
 

Please help.... forums are now down......

 
New Post
10/26/2007 11:18 AM
 

Anyone?

 
New Post
10/26/2007 6:11 PM
 

I finally decided I would just delete the forum module entirely and reinstall; however, when I try to delete (uninstall) the module, I get the following error and it won't let me delete.

Error: Edit Module Definition is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Access to the path 'C:\Inetpub\Domains\LepMed.DNNPortal.Web\bin\DotNetNuke.Modules.Forum.dll' is denied. ---> System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\Domains\LepMed.DNNPortal.Web\bin\DotNetNuke.Modules.Forum.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.Delete(String path) at DotNetNuke.Modules.Admin.ModuleDefinitions.EditModuleDefinition.cmdDelete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

 
New Post
10/26/2007 9:17 PM
 

Brian, the initial error looks related to the site attempting to load a now removed dll (with your upgrade). There are a number of reasons this can happen, depends on your hosting environment. That said, usually a restart of the application and/or resetting the web.config or IIS can fix this.

Your next issue can be for a number of reasons non-Forum related. Permissions on the file, something attempting to use the file during time of your uninstall, etc.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumHelp... problem on upgrade.Help... problem on upgrade.


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