Friday, 22 August 2014

After UR16 and 17, import solution process hangs

After UR16 and 17 when I try to import solution the progress bar shows 0 progress even after 15 mins, even if i have a pretty small solution file.

I tried repair CRM ... no luck
Tried IE 8,9 and 10 still no luck

looked into database using following query and no record is shown as created.

selectsolutionname,progress, startedon, completedon from importjob(nolock) order by startedon desc

----
By running trace log got following error

[2014-08-22 10:23:18.896] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   15 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 60faee5d-965c-4002-ac92-b398190d2694 | CrmException..ctor  ilOffset = 0x36
 at CrmException..ctor(Int32 errorCode, Object[] arguments)  ilOffset = 0x36
 at SolutionImportProcessPage.ProcessRequestData()  ilOffset = 0x4A
 at SolutionImportProcessPage.ProcessAction(String action)  ilOffset = 0x92
 at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0xD
 at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
 at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
 at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
 at Page.ProcessRequest()  ilOffset = 0x14
 at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
 at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
 at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
 at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
 at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
 at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
 at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
>Crm Exception: Message: An error occurred while importing a Solution., ErrorCode: -2147188685


Resolution:

Download the CRM 2011 SDK from microsoft website http://www.microsoft.com/en-gb/download/details.aspx?id=24004

Stop the Async Service

- Open Visual Studio Command Prompt in administrator mode and run following command

 gacutil -i "C:\SDK\Bin\Microsoft.Crm.Sdk.Proxy.dll"

- IISReset

- Restart Microsoft Dynamics Aync services

http://www.abhinavranjan.net/blog/2013/05/import-solution-issue-in-ur-12/

 

No comments:

Post a Comment