I get the follow exception in the event log when every I attempt to export a site. I also get "Application has been restarted and the logging of the export process has been terminated. Please make suCopy "Form controls" files..
Message: [ExportWizard.ExportSettings]: Export settings has been lost.
Exception type: System.Exception
at CMSModules_ImportExport_Controls_ExportWizard.get_ExportSettings() in ..........\CMS\CMSModules\ImportExport\Controls\ExportWizard.ascx.cs:line 188
at CMSModules_ImportExport_Controls_ExportWizard.get_ExportManager() in \.............s\V2\CMS\CMSModules\ImportExport\Controls\ExportWizard.ascx.cs:line 70
at CMSModules_ImportExport_Controls_ExportWizard.GetExportState(String argument) in \.
I have assured the site has the service account has the correct permissions. Where is the Form controls files the export process refers to?
Does this instance run on multiple servers? And your session is not sticky so you start your export on server 1 and end up on server 2?
It could also be the file level permission problem. See this article and check if you've set the correct permissions:
Yes the instance does run on multiple servers. Yes it could be this issue.
I had the permissions double check and they insist they are good.
I'd say check how your load balancer is configured and if it's set up to use sticky sessions... see if that handles your issue.
If it's running in a web farm, can you access either server by it's internal IP? If you so, you should be able to log into the admin UI with that IP and do the export, ensuring you stay on the same server for duration of the process.
This is a permissions issue with either the /App_Data or /CMSSiteUtils directories. Make sure the user running the website/app pool has read write access to those two directories. If not, your export will fail.
Please, sign in to be able to submit a new answer.