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