Export Error

David Pearson asked on December 15, 2015 18:58

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 Stack Trace: 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 \. ..................\V2\CMS\CMSModules\ImportExport\Controls\ExportWizard.ascx.cs:line 777

I have assured the site has the service account has the correct permissions. Where is the Form controls files the export process refers to?

Thanks David

Recent Answers


David te Kloese answered on December 15, 2015 21:58

Hi David,

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: https://docs.kentico.com/display/K9/Disk+permission+problems

Greets,

David

0 votesVote for this answer Mark as a Correct answer

David Pearson answered on December 15, 2015 22:11

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.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on December 16, 2015 12:51

Hi,

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.

Greets,

David

0 votesVote for this answer Mark as a Correct answer

Bryan Soltis answered on December 16, 2015 15:35

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.

  • Bryan
0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 16, 2015 16:48

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.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.