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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Errors after failed update... Please helpErrors after failed update... Please help
Previous
 
Next
New Post
5/14/2010 1:05 PM
 
I tryed to run an update on my site but it failed. I then restored my files and database to a state before I ran the update. Now I'm getting the following errors on most pages after I log in. The pages are blank if I access them before logging in.

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.InvalidCastException: Unable to cast object of type 'DotNetNuke.Modules.HTML.SqlDataProvider' to type 'DotNetNuke.Modules.Html.DataProvider'. 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.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: 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.InvalidCastException: Unable to cast object of type 'DotNetNuke.Modules.HTML.SqlDataProvider' to type 'DotNetNuke.Modules.Html.DataProvider'. 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 ---

This is what show up in my log:

ModuleId: 353
ModuleDefId: 104
FriendlyName:
ModuleControlSource: DesktopModules/HTML/HtmlModule.ascx
AssemblyVersion: 5.1.1
PortalID: 0
PortalName: Wyndridge Residential Association
UserID: 1
UserName: rmills8387
ActiveTabID: 39
ActiveTabName: Home
RawURL: /dotnetnuke/Home.aspx
AbsoluteURL: /DotNetNuke/Default.aspx
AbsoluteURLReferrer: http://www.wyndridge.org/dotnetnuke/Login.aspx?ReturnUrl=%2fdotnetnuke%2fDefault.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Tablet PC 2.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 16bb83fb-2336-45bc-ba06-efc3d817239e
InnerException: The type initializer for 'DotNetNuke.Modules.Html.DataProvider' threw an exception.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Html.DataProvider.CreateProvider
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.InvalidCastException: Unable to cast object of type 'DotNetNuke.Modules.HTML.SqlDataProvider' to type 'DotNetNuke.Modules.Html.DataProvider'. 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:
Server Name: SERVER

Please help.

Thanks,

Rodney
 
New Post
5/14/2010 4:12 PM
 
it sounds like there are still new files from the backup, which haven't been present before, e.g. dotnetnuke.modules.html.dll in /bin folder.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/14/2010 5:07 PM
 
I restored the complete folder and database so there was not any new files left. I even took the old backup to a new machine and still getting the same errors. It won't even let me create a new page.

Thanks for your help
 
New Post
5/15/2010 7:20 AM
 
please check in Host :: extensions, which version of Text/HTML module is installed.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/15/2010 8:50 AM
 
The HTML ver. is 5.2.0 and my DotNetNuke Ver. is 05.04.01.

Thanks,

Rodney
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Errors after failed update... Please helpErrors after failed update... Please help


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