Hi. I'm working on a project where I'm attempting to export a portal template for a fairly large DNN 5.6.2 site (800+ pages). If I export without the content, the template is created successfully. However, if I include the content, the process bombs out at 15 minutes and 40 seconds with the following error:
DotNetNuke.Services.Exceptions.ModuleLoadException: Specified argument
was out of the range of valid values.
Parameter name: Offset ---> System.ArgumentOutOfRangeException:
Specified argument was out of the range of valid values.
Parameter name: Offsetat
ICSharpCode.SharpZipLib.Zip.ZipEntry.set_Offset(Int32 value)at
ICSharpCode.SharpZipLib.Zip.ZipOutputStream.PutNextEntry(ZipEntry
entry)at
DotNetNuke.Common.Utilities.FileSystemUtils.AddToZip(ZipOutputStream&
ZipFile, String filePath, String fileName, String folder)at
DotNetNuke.Modules.Admin.Portals.Template.SerializeFiles(XmlWriter
writer, PortalInfo objportal, String folderPath, ZipOutputStream&
zipFile)at
DotNetNuke.Modules.Admin.Portals.Template.SerializeFolders(XmlWriter
writer, PortalInfo objportal, ZipOutputStream& zipFile)at
DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender,
EventArgs e)--- End of inner exception stack trace ---
The template file is created but the resources file is not. Google has not shown this exact error when exporting a template, although this error has occurred for a few non-DNN scenarios with various culprits.
Does anyone have any ideas?
Could there be a size limit on the file being created that might be causing this issue?
At 15 minutes and 40 seconds, could this be a timeout issue?
Also, assuming that I can eventually export this template from the DNN 5.6.2 site, can I import it into a newer site such as DNN 7.x, or do I need to stick with DNN 5.6.2 for the import process?
See Ya!
Van