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 ForumsBlogBlogBlog 4.0 & DNN 5.0.1 ExceptionsBlog 4.0 & DNN 5.0.1 Exceptions
Previous
 
Next
New Post
5/13/2010 1:42 PM
 
Hey guys,

Trying to upgrade to Blog 4.0 on DNN 5.0.01, and getting some errors regardless of how I install it.

Was running 3.5.? perfectly fine.  Installed 4.0, attempt to add a new blog module, and get errors in reference to Blog.Data.SqlDataProvider:

System.TypeLoadException: Method 'AddBlog' in type 'DotNetNuke.Modules.Blog.Data.SqlDataProvider' from assembly 'DotNetNuke.Modules.Blog.SqlDataProvider, Version=3.5.0.19904, Culture=neutral, PublicKeyToken=null' does not have an implementation. at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)

Which triggers a few other general exceptions:

The type initializer for 'DotNetNuke.Modules.Blog.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 DotNetNuke.Modules.Blog.Data.DataProvider.CreateProvider() at DotNetNuke.Modules.Blog.Data.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Blog.Data.DataProvider.Instance() at DotNetNuke.Modules.Blog.Settings.BlogSettings..ctor(Int32 PortalID, Int32 TabID) at DotNetNuke.Modules.Blog.Settings.BlogSettings.GetBlogSettings(Int32 PortalId, Int32 TabId) at DotNetNuke.Modules.Blog.BlogModuleBase.get_BlogSettings() at DotNetNuke.Modules.Blog.ViewBlog.Page_Init(Object sender, EventArgs e)

System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Blog.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 DotNetNuke.Modules.Blog.Data.DataProvider.CreateProvider() at DotNetNuke.Modules.Blog.Data.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Blog.Data.DataProvider.Instance() at DotNetNuke.Modules.Blog.Business.BlogController.GetBlogByUserID(Int32 PortalID, Int32 UserID) at DotNetNuke.Modules.Blog.BlogList.Page_Init(Object sender, EventArgs e)


Followed by module and page exceptions stating "Object reference not set to an instance of an object" (standard).

I lack the time to be able to debug any further, and since I've been able to uninstall and reinstall 3.5.1 cleanly, and which works perfectly fine, I'll stick with that until an opportunity to upgrade to a newer DNN 5 installation presents itself and I can try this again.

Just thought I'd share in case it might help!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogBlog 4.0 & DNN 5.0.1 ExceptionsBlog 4.0 & DNN 5.0.1 Exceptions


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