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
ZipFile, String filePath, String fileName, String folder)at
writer, PortalInfo objportal, String folderPath, ZipOutputStream&
writer, PortalInfo objportal, ZipOutputStream& zipFile)at
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?