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 ...The Default Portal can not be export as a templateThe Default Portal can not be export as a template
Previous
 
Next
New Post
10/27/2009 4:28 PM
 

Hello everyone,

Currently I am working on a website that based on dotnetnuke version

  DotNetNuke Community Edition 04.09.04.

 

I have created several modules and installed them into the project. My client also installed some third party modules in the project. We added about 40 pages in the default portal, and different pages may contain different modules. Then we want to export this portal as a template with all contents in order to create other portals by using this template. We got the error message below:

Export Template

Error: Export Template 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 includeAllModules, Boolean includeContent) at DotNetNuke.Entities.Tabs.TabController.SerializeTab(XmlDocument xmlTab, Hashtable hTabs, TabInfo objTab, PortalInfo objPortal, Boolean includeContent) at DotNetNuke.Modules.Admin.PortalManagement.Template.SerializeTabs(XmlDocument xmlTemplate, XmlNode nodeTabs, PortalInfo objportal) in D:\Websites\MircomES.com\Admin\Portal\Template.ascx.vb:line 445 at DotNetNuke.Modules.Admin.PortalManagement.Template.cmdExport_Click(Object sender, EventArgs e) in D:\Websites\MircomES.com\Admin\Portal\Template.ascx.vb:line 542 --- End of inner exception stack trace ---

We tried to create another portal with a few simple pages in it, and exported it as template. It was no any problems. Only the default portal which has over 40 pages, we can not export it as a template.

Can anyone help me or give me some advices? If need any more information, please let me know. We need this issue to be fixed ASAP. Thanks a lot.

My email address: yinghao8@gmail.com

YING

Oct.27,2009

[moderator edit: fixed formatting]

 
New Post
10/28/2009 8:58 AM
 

Sorry, here is the error message:

Error: Export Template 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 includeAllModules, Boolean includeContent) at DotNetNuke.Entities.Tabs.TabController.SerializeTab(XmlDocument xmlTab, Hashtable hTabs, TabInfo objTab, PortalInfo objPortal, Boolean includeContent) at DotNetNuke.Modules.Admin.PortalManagement.Template.SerializeTabs(XmlDocument xmlTemplate, XmlNode nodeTabs, PortalInfo objportal) in D:\Websites\MircomES.com\Admin\Portal\Template.ascx.vb:line 445 at DotNetNuke.Modules.Admin.PortalManagement.Template.cmdExport_Click(Object sender, EventArgs e) in D:\Websites\MircomES.com\Admin\Portal\Template.ascx.vb:line 542 --- End of inner exception stack trace ---

 
New Post
12/22/2009 10:30 AM
 

have you ever fixed this? If yes: how?

 
New Post
4/28/2010 6:43 PM
 

Did anyone find a fix to this? I am having the same issue and getting the same error.

 
New Post
4/28/2010 8:06 PM
 
AFAIK there are issues with new page/module properties, which are not supported on export. Try upgrading to 4.9.5, if this doesn't help, you might even consider upgrading to 5.4.1.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The Default Portal can not be export as a templateThe Default Portal can not be export as a template


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