Error using the "Import Sites and Objects"

roger linney asked on March 2, 2015 06:50

Hi,

I'm trying to import a package form another site (both sites version 8.1.14) and I get the following message after 30 seconds or so.

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 found this thread link text but changing the app pool to älwaysrunning" made no difference in our case.

Can't see anything in the event logs. Has anyone seen this before?

Recent Answers


Brenden Kehren answered on March 2, 2015 13:59

What are you trying to import? If there are code files in the import, it might cause the app pool to restart if they are going into the App_Code directory.

When you say you checked the event logs, are you talking on the website or on the server? I'd check both as the website may not record any data if IIS is causing the problem.

0 votesVote for this answer Mark as a Correct answer

roger linney answered on March 2, 2015 23:40

Hi Brenden,

Thanks for taking the trouble to respond.

The object I exported was just an object based on "Preselect objects changed after specific date" from about a week ago that includes all objects. There have only been content changes in that period. So I'm fairly confident there are no code files in that 7 day period.

The event logs I checked are the ones on the actual website front end host server (IIS 8.5 Host). I haven't checked the DB server event log, is that what you meant? The application and system logs both have no corresponding events that I can see.

On the Web Site Host Server, After initiating the import with "preselect only new items" the IIS Worker Process (w3wp.exe) tops out at 100% cpu for around 60 seconds and then the error described displays and the w3wp.exe process goes back to 0% (as you'd expect I guess).

I was thinking App pool permissions or some setting in the app pool that I've missed.

These two servers are relatively new setups. All other functionality appears to work without a problem.

0 votesVote for this answer Mark as a Correct answer

roger linney answered on March 2, 2015 23:57

The Kentico Event logs had this:

EventID: 3427859

EventType: W

EventTime: 3/3/2015 9:47:43 AM

Source: Application_End

EventCode: ENDAPP

UserID: 65

UserName: public

EventDescription: Message: IIS configuration change HostingEnvironment initiated shutdown HostingEnvironment caused shutdown Shutdown stack: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.PipelineRuntime.StopProcessing() at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) Call stack: at CMS.EventLog.EventLogProvider.LogApplicationEnd() at CMS.EventLog.EventLogHandlers.LogApplicationEnd(Object sender, EventArgs e) at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler1 h, TArgs e) at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List1 list, TArgs e, Boolean important) at CMS.Base.SimpleHandler2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.StartEvent(TArgs e) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at System.Web.HttpApplication.InvokeMethodWithAssert(MethodInfo method, Int32 paramCount, Object eventSource, EventArgs eventArgs) at System.Web.HttpApplication.ProcessSpecialRequest(HttpContext context, MethodInfo method, Int32 paramCount, Object eventSource, EventArgs eventArgs, HttpSessionState session) at System.Web.HttpApplicationFactory.Dispose() at System.Web.HttpRuntime.Dispose() at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()

0 votesVote for this answer Mark as a Correct answer

roger linney answered on March 3, 2015 00:31 (last edited on March 3, 2015 00:32)

Interestly, Looks like the error above in the Kentico Logs is always preceeded with the following error:

Image Text

Not sure if that is in the object I'm importing or the existing site.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on March 3, 2015 04:32

Roger,

According to your event detail, you have some code errors. Good chance you're missing a file or some files that the SecureSharePointConfigureation.cs file need. I'd find out where that ShrePointDataViewer control is and you should have your answer.

0 votesVote for this answer Mark as a Correct answer

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