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 ForumsDocumentsDocuments4.8.2 - Module upgrade error4.8.2 - Module upgrade error
Previous
 
Next
New Post
5/8/2008 6:32 AM
 

Hi, we upgraded our Intranet site from 4.4.1 to 4.8.2 last week. That went smoothly and everything worked.

Now we have just tried to upgrade some of the modules to the latest versions. Documents was the first module i tried, upgraded fine but now we cannot open any documents.

This is the error:

Error: Documents is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.Documents.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Documents.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.Documents.DataProvider.CreateProvider() at DotNetNuke.Modules.Documents.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Documents.DataProvider.Instance() at DotNetNuke.Modules.Documents.DocumentController.GetDocumentsSettings(Int32 ModuleId) at DotNetNuke.Modules.Documents.Document.LoadSettings() at DotNetNuke.Modules.Documents.Document.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

What does this translate to in leymans terms?

 

Many Thanks

 
New Post
5/8/2008 7:07 PM
 

The error is happening when DotNetNuke is trying to create an instance of the DotNetNuke.Modules.DocumentsSqlDataProvider class.  Check your /bin folder to make sure you have a DotNetNuke.Modules.Documents.SqlDataProvider.dll.  Also make sure (in IIS settings) that you are running in ASP.NET 2.0, and compare your web.config with the release.config file in the dotnetnuke folder to make sure everything's ok there - there were some changes between 4.4->4.8 (the httpModules section points to a different file for most of the core httpModules, for example).


 
New Post
5/8/2008 7:55 PM
 

Actually, if he is installing the latest 04.00.00 version of the Documents module, there should NOT be a DotNetNuke.Modules.Documents.SqlDataProvider.dll in the /bin folder. I have seen this similar error when upgrades to the core framework and modules have not successfully removed obsolete .dll files.

Try REMOVING the DotNetNuke.Modules.Documents.SqlDataProvider.dll from the /bin folder.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/29/2009 6:00 AM
 

I had the same problem.

I deleted DotNetNuke.Modules.Documents.SqlDataProvider.dll file from the bin folder and it fixed the problem.

Thanks.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocuments4.8.2 - Module upgrade error4.8.2 - Module upgrade error


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