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