DNN 8.0.4
I am trying to export a portal template, I get the error below. This doesn't happen for every portal. So, what might need configuring in this portal? The error happens fairly quickly, e.g a few seconds. Exports of other portals take a couple of minutes (there are lots of files.)
ModuleId:321
ModuleDefId:63
FriendlyName:
ModuleControlSource:DesktopModules/Admin/Portals/Template.ascx
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:c377aee1-4858-459c-a371-409de09bb2a4
AssemblyVersion:8.0.4
PortalId:0
UserId:1
TabId:17
RawUrl:/Host/Portals/ctl/Template/mid/321/portalid/0
Referrer:https://npiweb.com/Host/Portals/ctl/Template/mid/321/portalid/0
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
ExceptionHash:DhgUEb7HzB+zK4BGGH9oXA==
Message:startIndex cannot be larger than length of string. Parameter name: startIndex
StackTrace:
InnerMessage:startIndex cannot be larger than length of string. Parameter name: startIndex
InnerStackTrace:
at System.String.Substring(Int32 startIndex, Int32 length)
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)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: XXXXXnation