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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Issue with Text/HTML module after moveIssue with Text/HTML module after move
Previous
 
Next
New Post
3/9/2010 11:00 AM
 

 I moved my site from a production server using sql2005 to a desktop so I can do some offline updating.  the desktop has SQLExpress 2005 on it.  Everything is working fine except the text/html module that are throwing the following error

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

 

the text/html modules are using the Gumbosoft AJAX Tabs Module.

Any help would be greatly appreciated.

 
New Post
3/9/2010 12:04 PM
 

Did you copy the file system directly, or did you try to use a new INSTALL package when making the move?

That error typically occurs when there is a missing DLL somewhere.

What version of DNN are you currently using? Did you happen to upgrade as well?


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
 
New Post
3/9/2010 1:00 PM
 

 I did a straight file copy from the server.  I will check the bin folders.

 

this is version 5.1.1

 

 

 
New Post
3/9/2010 3:08 PM
 
I just deleted all the DLL's and recopied them and did another back of the db and restored it. still the same issue. I event tried it on my laptop and was able to duplicate the error so it has nothing to do with sql vs sqlexpress. when I try and add a text/html module to the page it has the same issues, so it has something to do with the module.... Every other thing on the site is working.
 
New Post
3/9/2010 3:18 PM
 

 I deleted the bin folder and then redownloaded the ones of production as well as restored the db

 

I can duplicate the issue on my laptop, so I don't know what I am missing this is the code that is in the text/html box on production that works

 

<div class="ajax__tab_panel" id="dnn_ctr381_ViewAjaxTabs_tabContainer381_tabPanel4" style="visibility: visible">

<div id="dnn_ctr381_ViewAjaxTabs_tabContainer381_tabPanel4_AT_UP_4">

<div class="Normal" id="dnn_ctr381_ViewAjaxTabs_tabContainer381_tabPanel4_HtmlModule_lblContent">

<ul>

    <li><strong>Wide operating temperature</strong> range of <strong><span style="color: rgb(0,0,255)">-40°C</span> to <span style="color: rgb(255,0,0)">+85°C</span></strong> is standard. No up rating, no hassles.</li>

    <li>All designs are <strong>Tantalum Free </strong>specifically for aerospace applications.</li>

    <li><strong>LED status indicator</strong>. Great for development and field service. Life gets easier.</li>

    <li><strong>Polarized I/O connectors</strong>. No blown systems, no hassles.</li>

</ul>

<p><img height="165" alt="" width="200" src="/dnn/Portals/0/images/Burr_Cold_200pixels.jpg" /></p>

</div>

</div>

</div>

<p>&#160;</p>

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Issue with Text/HTML module after moveIssue with Text/HTML module after move


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