Microsoft Dynamics CRM 2011中的导出解决方案失败

时间:2014-08-28 10:50:11

标签: export dynamics-crm-2011 dynamics-crm microsoft-dynamics

导出Microsoft Dynamics CRM 2011中的解决方案以前工作正常。然而,自本周以来,出口解决方案有些奇怪。我曾经得到一个弹出窗口,显示Dynamics正忙着为我的解决方案创建一个ZIP文件,此窗口现在不再弹出,也没有生成ZIP文件。当我查看服务器日志时,会记录以下错误:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 8/28/2014 12:05:02 PM 
Event time (UTC): 8/28/2014 10:05:02 AM 
Event ID: 32272fa9722b4d90acbb41ebb3f6e235 
Event sequence: 125 
Event occurrence: 1 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/1/ROOT-1-130536937393405660 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: D:\Program Files\Microsoft Dynamics CRM\CRMWeb\ 
    Machine name: <censored>

Process information: 
    Process ID: 2768 
    Process name: w3wp.exe 
    Account name: <censored> 

Exception information: 
    Exception type: HttpException 
    Exception message: An error occurred while communicating with the remote host. The error code is 0x800704CD.
   at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
   at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
   at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
   at Microsoft.Crm.Dialogs.ExportSolutionPage.ExportSolution(String ismanaged, String optionXml)
   at Microsoft.Crm.Dialogs.ExportSolutionPage.ConfigureForm()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Request information: 
    Request URL: <censored>/_grid/cmds/dlg_exportsolution.aspx?appSolutionId={CC88C481-F719-E311-A1B1-005056A81986}&command=exportsolution&ismanaged=0&optionxml=falsefalsefalsefalsefalsefalsefalsefalsefalse 
    Request path: /CRMTST/_grid/cmds/dlg_exportsolution.aspx 
    User host address: <censored>
    User: <censored> 
    Is authenticated: True 
    Authentication Type: Negotiate 
    Thread account name: <censored>

Thread information: 
    Thread ID: 7 
    Thread account name: <censored>
    Is impersonating: False 
    Stack trace:    at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
   at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
   at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
   at Microsoft.Crm.Dialogs.ExportSolutionPage.ExportSolution(String ismanaged, String optionXml)
   at Microsoft.Crm.Dialogs.ExportSolutionPage.ConfigureForm()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details: 

搜索HttpException0x800704CD)的错误代码,指出此错误代码表示请求已取消。这可以解释为什么弹出窗口永远不会出现,它会立即被取消。

奇怪的是,这种行为是新的,这使我认为浏览器已经更新或者这是由Windows更新引起的。 Dynamics CRM软件本身尚未更新。

导出功能本身运行正常,我通过直接粘贴浏览器中的导出请求URL来验证。这将返回ZIP文件,而不会在事件日志中记录错误。

有关如何解决此问题的想法吗?

1 个答案:

答案 0 :(得分:1)

取决于您的IE和CRM汇总版本。但有时兼容模式解决了这个问题。过去我在IE 10和IE兼容模式下遇到了类似的问题。

如果您使用汇总10并且您的IE版本也是10,则需要切换到兼容模式。参考:Support with Microsoft Dynamics CRM 2011 and Internet Explorer 10

请检查此链接:Configuring Settings for IE 10 and CRM 2011