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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Module Load Exception HTML Data Provider after Upgrade from 05.00.00 to 05.02.03Module Load Exception HTML Data Provider after Upgrade from 05.00.00 to 05.02.03
Previous
 
Next
New Post
3/3/2010 3:49 PM
 

I know what the problem is, but am unsure how to fix it. Up through 05.00.00 I was using the Text/HTML Module 04.08.01. I lknow that development of this module has been discontinued and migrated to the HTML 05.02.00 Module which now uses the FckEditor Provider 02.00.04 in DotNetNuke versions above 05.00.00.

When upgrading from 05.00.00 to 05.02.03, it appears that support for the old Text/HTML Module 04.08.01 is removed causing the Module Load Exception HTML Data Provider Error listed below. I have included both the Module Page Error and the Error from the Event Viewer.

I have had this DotNetNuke installation since 04.03.04. Every upgrade I have done has had ZERO errors in the upgrade sequense, including this one (05.00.00 to 05.02.03).

I have several clients that are also on this path, most of them I have kept at 04.09.05. How can I resolve this problem, and how can I prevent it with DotNetNuke sites that are using the old Text/HTML 04.08.01 Module? I would rather not have to copy/paste all content by hand.

 

MODULE PAGE ERROR:

Error Error: Text/HTML is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.Html.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Html.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.Html.DataProvider.CreateProvider() at DotNetNuke.Modules.Html.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Html.DataProvider.Instance() at DotNetNuke.Modules.Html.WorkflowStateController.GetWorkflows(Int32 PortalID) at DotNetNuke.Modules.Html.HtmlTextController.GetWorkflowID(Int32 ModuleID, Int32 PortalID) at DotNetNuke.Modules.Html.HtmlModule.Page_Init(Object sender, EventArgs e) --- End of inner exception stack trace ---

Error An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.Html.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Html.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.Html.DataProvider.CreateProvider() at DotNetNuke.Modules.Html.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Html.DataProvider.Instance() at DotNetNuke.Modules.Html.WorkflowStateController.GetWorkflows(Int32 PortalID) at DotNetNuke.Modules.Html.HtmlTextController.GetWorkflowID(Int32 ModuleID, Int32 PortalID) at DotNetNuke.Modules.Html.HtmlModule.get_ModuleActions() at DotNetNuke.UI.Modules.ModuleInstanceContext.LoadActions(HttpRequest Request) at DotNetNuke.UI.Modules.ModuleInstanceContext.get_Actions() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

Error Error: Text/HTML is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.Html.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Html.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.Html.DataProvider.CreateProvider() at DotNetNuke.Modules.Html.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Html.DataProvider.Instance() at DotNetNuke.Modules.Html.HtmlTextController.GetTopHtmlText(Int32 ModuleID, Boolean IsPublished, Int32 WorkflowID) at DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

EVENT VIEWER ERROR:

ModuleId: 609
ModuleDefId: 109
FriendlyName: Text/HTML
ModuleControlSource: DesktopModules/HTML/HtmlModule.ascx
AssemblyVersion: 5.2.3
PortalID: 0
PortalName:
UserID:
UserName:
ActiveTabID: 297
ActiveTabName: Home
RawURL: /home/Home.aspx
AbsoluteURL: /home/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 ImageShackToolbar/5.2.3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID:
InnerException: The type initializer for 'DotNetNuke.Modules.Html.DataProvider' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Activator.CreateInstance
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.Html.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.Html.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.Html.DataProvider.CreateProvider() at DotNetNuke.Modules.Html.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.Html.DataProvider.Instance() at DotNetNuke.Modules.Html.HtmlTextController.GetTopHtmlText(Int32 ModuleID, Boolean IsPublished, Int32 WorkflowID) at DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:

 

I am not sure if this is relavent or not, but I am also now getting this General Exception as well.

 

AssemblyVersion: 5.2.3
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID:
InnerException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken= failed.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.CodeAccessSecurityEngine.Check
StackTrace:
Message: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.Services.ModuleCache.FileProvider.GetCacheFolder(Int32 portalId) at DotNetNuke.Services.ModuleCache.FileProvider.PurgeExpiredItems(Int32 portalId) at DotNetNuke.Services.ModuleCache.PurgeModuleCache.DoWork() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer
Source:

 

 
New Post
3/3/2010 4:36 PM
 

While waiting for this thread to be approved, I found the fix. Hopefully it automatically gets corrected in future releases of DotNetNuke.

If the old Text/HTML 04.08.01 Module is in use prior to the upgrade, then you will need to manually delete the bin/DotNetNuke.Modules.Html.SqlDataProvider.dll file in order for the new HTML 05.02.00 Module to work.

 

 
New Post
3/3/2010 4:44 PM
 
Glad you found the issue. I will see if we can't get that corrected in a future release as well. It's should be a pretty simple solution as DNN supports the ability to remove old DLLs during install/upgrades

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Module Load Exception HTML Data Provider after Upgrade from 05.00.00 to 05.02.03Module Load Exception HTML Data Provider after Upgrade from 05.00.00 to 05.02.03


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