Kentico 8 Server 2008r2 Application restart during import

David Pearson asked on April 11, 2016 21:47

Hi all, I am getting the following error on Server 2008r2 when I import a site.

"The worker thread has been aborted, this might have been caused by the application restart. Please check if the action succeeded and repeat the action if not.”

I was wondering if there is a fix for this issue. My event log in Kentico does show anything. Export site also fails.

Thanks David

Recent Answers


Brenden Kehren answered on April 11, 2016 22:01

How large is your site you're exporting and importing? You may have to set the timeout on the connection string to a longer period of time. Same is true with your application pool, set it longer than the standard 20 minute timeout. Another option is to break up your export in pieces, for instance, export the site definition and all the objects first, then export all the of the site specific items like content, media library, forms, etc. second.

0 votesVote for this answer Mark as a Correct answer

Laura Frese answered on April 11, 2016 22:06 (last edited on April 11, 2016 22:07)

You can increase the timeout and/or the maxRequestLength in the web.config file, and check to see what it is, and maybe increase it in IIS. ALso check the event viewer to be sure there isnt something else causing the restart.

<configuration>
  <system.web>
     <httpRuntime executionTimeout="600" /> <!-value is in secs = 10 min -->
  </system.web>
</configuration>
0 votesVote for this answer Mark as a Correct answer

David Pearson answered on April 12, 2016 21:44

I tried the importing a blank site and changing the executionTimeout. Here is some items I pull out of the event log. I do not have access to the host servers (two servers IIS pointed to one file location on the NAS). There is a fix with 2012 R2 but I was told those servers are 2008 R2.

Message: Directory rename change notification for '*******'

Overwhelming Change Notification in cms HostingEnvironment initiated shutdown HostingEnvironment caused shutdown Directory rename change notification for '******'. Overwhelming Change Notification in cms Thanks for any insight:

0 votesVote for this answer Mark as a Correct answer

Laura Frese answered on April 12, 2016 22:51

It looks like there was a similar issue here. It may have to do with IIS and changes to files in the App_Code or App_Data folders. It may also have to do with the antivirus , or a hotfix may be required for the server - this may have been the one you were talking about with 2012

1 votesVote for this answer Mark as a Correct answer

David Pearson answered on April 13, 2016 13:50

Laura: Yes that is the problem I am running into with the App_Data folder changes.. I am getting the same export errors in the event log.

Looking for a IIS config setting to prevent this..

0 votesVote for this answer Mark as a Correct answer

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