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 StartedInstalling DNN ...Installing DNN ...Forced ReinstallForced Reinstall
Previous
 
Next
New Post
12/17/2009 4:59 PM
 

It appears that when I copied up the 5.2 upgrade all the files were apparently not FTPed correctly before the install kicked off.  I've re-copied all the files and now I get...

[FileLoadException: Could not load file or assembly 'DotNetNuke.Membership.DataProvider' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
 


Is there any way to force the install script to run again?

Could this something else altogether?  Please help.  My production server is down...

Thanks!

Ian

 
New Post
12/17/2009 8:38 PM
 

If you are very lucky, you might be able to re-FTP the file DotNetNuke.Membership.DataProvider.dll from the 5.02.00 upgrade zip's /bin folder to the site's /bin folder and then try to bring the site up. More likely, however, is that additional files were not properly unzipped and FTP's correctly and that the database upgrade scripts only partially ran. In that case, it would be best to restore the site (both its files and database) from the backups you made before the upgrade was done, unzip a new download of the 5.02.00 upgrade package, re-FTP, and trigger the upgrade again. There is no easy way to force the upgrade scripts to run again.

One extra caution - a few months back, Microsoft apparently pushed out a security patch for Windows which blocks certain files (usually dll and exe's) of a downloaded zip archive from being extracted when using Window's native un-zip capabilities. Before un-zipping the DNN upgrade package, rightclick over the package icon or filename in Windows explorer and select Properties from the context menu. If the properties dialog shows an "Unblock" button you must click that before extracting the archive's files.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/18/2009 4:38 PM
 

I finally resorted to restoring a backup and re-applying the 5.2.  Now, I'm getting the following where most modules would normally be...

Error: Products 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.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 ---

Any more ideas?

Thanks!

Ian

 
New Post
12/18/2009 8:09 PM
 

Make sure that there is not a file named "DotNetNuke.Modules.Html.SqlDataProvider.dll" in your site's /bin folder. If there is, delete it. The only assembly relating to the Html/Text module that should be in the /bin folder following the upgrade is "DotNetNuke.Modules.Html.dll".

Out of curiosity, from what version of DNN framework did you upgrade and with what version was the site first installed?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/21/2009 11:20 AM
 

DotNetNuke.Modules.Html.SqlDataProvider.dll doesn't exist in my bin folder.

The site was first installed in 2005...  I'm not sure which version.  2.x?  This has been a two-part upgrade.  I started from 4.9.? and upgraded to 5.1.4 (which never really worked correctly) then in an attempt to correct it, I went ahead and upgraded to 5.2 which was released during my debugging of the former upgrade.

Now I fear that I'm in a situation where I'm going to have to start from scratch.  I really hope this is not the case.  DNN will lose some substantial cred with me if this is the case.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Forced ReinstallForced Reinstall


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