I'm right there with you Kevin... Dnn 5.1.1 on a site that needs to have the ability to do Portal Export. In this case, we're doing a portal export to setup another site on the same dnn instance that is almost identical in structure and content to the original, and then we'll reskin, and change pages wehre needed.
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 ---
The error is displayed when i export this one portal that has the most content to it... another portal in teh same DNN instance exports fine and has many ofthe same modules in it. the difference is that it has far fewer pages/less content.
Like Kevin said, i look at the template file that was being created and it never finishes... randomly it stops in the same region of 20-50 lines of code, howeer it's a different spot each time... it's not at the start of a module or end of one, it's middle of words kind of stop. EVERY file, though stops at 53.9 KB in size, i'm wondering if there's an error in file limit or cache in processing time/kb ? Has anyone looked into that?
Haven't seen this error in other sites and am now testing to look at specific modules to see if any are involved