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...Administration ...Administration ...Export Template errorExport Template error
Previous
 
Next
New Post
2/7/2015 2:02 AM
 

I need to move my production site to a new host server (using Godaddy plesk as the new host environment), and I was hoping to use the Export Template feature to export all pages, files, folders, and content.  The current site is DNN version 7.1.2, sql 2012 sp2 database, running on IIS 7.0 with .net framework 4.0.30319.34209.

Seems like the Export Site Template (from Site Management page) would be perfect for this task, but when I run it I almost immediately get this error: 

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Tabs.TabController.SerializeTab(XmlDocument tabXml, Hashtable tabs, TabInfo tab, PortalInfo portal, Boolean includeContent) at DotNetNuke.Modules.Admin.Portals.Template.SerializeTabs(XmlWriter writer, PortalInfo portal, Hashtable tabs, TabCollection tabCollection) at DotNetNuke.Modules.Admin.Portals.Template.SerializeTabs(XmlWriter writer, PortalInfo portal) at DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

-- end of error received

The above error is repeatable even if I recycle the app pool and clear the cache.

Any ideas and help is appreciated.


Gene W
 
New Post
2/7/2015 6:19 AM
 
if you Need to move your site, it would be better to move all files and restore a backup from the database.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/7/2015 11:41 AM
 
I will try your suggestion. I was hoping to be able to leave un-referenced files and modules behind in the move - is there any good way to eliminate those?

Gene W
 
New Post
2/7/2015 6:01 PM
 
You may check usage of modules in Host > Extensions (besides a few System modules, whoch cannot be uninstalled, although not used.
unfortunately, there is no Option for files, which might be used in HTML, which is hard to retrieve.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/9/2015 11:33 PM
 
What about rebuilding the site? Start out with a fresh install, then add the modules that were in use in the original site. Then to get the content, could I use some clever sql queries to migrate just the content for those modules? Has anything like this been done before? My reasons for wanting to do it stem from the age of my site - and the number of updates that have been applied. I know from experience that rebuilding a windows OS system results in a cleaner system that trying to maintain many installation / update cycles over a long period of time. I have even heard of people rebuilding their systems every 6 or 12 months as a way of combating the file and registry clutter that accumulates.

Gene W
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Export Template errorExport Template error


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out