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...Skins, Themes, ...Skins, Themes, ...Unable to Export Templates in DNN 6 - Gets Strange ErrorUnable to Export Templates in DNN 6 - Gets Strange Error
Previous
 
Next
New Post
10/15/2012 10:18 AM
 

Hi All,

I'm trying to migrate some sites to a new server for a client, and I find I'm unable to export templates of their existing sites to aid in the migration. When I try to export a site template in the usual way, this is the error I get (sorry, it's really long):

-------------------------------------------------------------------------

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not find a part of the path 'D:\Webspace\Ascend\ContentMgmt\Portals\_default\FCARC Portal Template 10\15\12.template'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Webspace\Ascend\ContentMgmt\Portals\_default\FCARC Portal Template 10\15\12.template'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName) at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) at DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
---------------------------------------------------------------------------

I'm using DNN 6. If anyone has any ideas, please let me know.

 
New Post
10/15/2012 10:29 AM
 
do not use blanks in file name. Make sure you are on latest DNN version (6.2.4), otherwise you may not be able to import templates w/o manual modification.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/15/2012 1:14 PM
 

A thousand thanks, Sebastian. That did the trick. Now I'm getting a new error when trying to export  one of my portals. No spaces in the filename this time, or anything like that. Here's the 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 xmlTab, Hashtable hTabs, TabInfo objTab, PortalInfo objPortal, Boolean includeContent) at DotNetNuke.Modules.Admin.Portals.Template.SerializeTabs(XmlWriter writer, PortalInfo objportal) at DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

What do you make of this one?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Unable to Export Templates in DNN 6 - Gets Strange ErrorUnable to Export Templates in DNN 6 - Gets Strange 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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out