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 ForumsForumForumThe type initializer for DotNetNuke.Modules.Forum.DataProviderThe type initializer for DotNetNuke.Modules.Forum.DataProvider
Previous
 
Next
New Post
10/18/2007 10:44 AM
 

First off, thanks for all the hard work in the new release for the dnn Forums module.  I don't know if you all will ever realize how much this module is appreciated!

I have upgraded from 3.20.8 - to the new forum - and the installation seemed to go fine - I even set all edit permissions to only Administrators.  But when I go to visit the forums I get the following error:

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 ---

Please forgive me - but I don't see a dll in the bin directory named - DotNetNuke.Modules.Forum.DataProvider - but I do see the Forum.SQLDataProvider.dll file.  So I'm confused as to where to look from here.  Thanks!



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
10/18/2007 11:46 AM
 

That dll no longer exists. Sounds like you just need your web site reset.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
10/18/2007 12:18 PM
 

Thanks for the reply!  I just tried that under Host - host settings - restart application - Same error.  I even recycled the application pool and tried restarting the web services.  I am still getting the same error.  Looking in the install folder - there' s only 1 dll that is uploaded - so even my previous version (3.20.8) used the same DotNetNuke.Modules.Forum.SQLDataProvider.dll file - correct? 



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
10/18/2007 12:19 PM
 

 

Edit - this is the same type of error - retrived another way.

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.ForumPreConfig.SetupDefaultGroup(Int32 ModuleId, Int32 PortalId, Int32 UserId, String mSourceDirectory)



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
10/18/2007 5:15 PM
 

Couldn't figure this one out.  So I un-installed the Forum and re-installed it.  Lost the forum posts I was trying to upgrade - but you take your lumps and move on.  Seemed to work fine when upgrading from 3.20.09 - just problems with the .08 version.



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumThe type initializer for DotNetNuke.Modules.Forum.DataProviderThe type initializer for DotNetNuke.Modules.Forum.DataProvider


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