Hi Everyone,
Starting yesterday I'm getting errors while exporting our unmanaged dev solution as managed to promote it to test. It's got me stumped. Only thing that changed since the last export was a field being added and business rule, both of which have now been removed. I have tried the old chestnut of adding entities to a new solution and exporting and it exports with no problems. I have stuck to only adding entities and components that have been changed recently as there are hundreds of entities in our solution.
I have turned on tracing and got the below error log, I think it's some component on a form that is the problem, but no idea which. Before I work my way through every entity adding it to a new solution and trying to export has anyone one got any ideas from the below error what I might be looking for?
Maybe I'm barking up the wrong tree. we had an issue yesterday with a host and the VM failed over to another host, I was thinking that transition may have up set it but I can't be sure.
Any help much appreciated.
Cheers
Chris
>MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Error Number: 0x80040216
Error Message: An unexpected error occurred.
Error Details: An unexpected error occurred.
Source File: Not available
Line Number: Not available
Request URL: xxx.arsenal.xxx/.../dlg_exportsolution.aspx;command=exportsolution&ismanaged=1&optionxml=%3csettings%3e%3cexportAutoNumber%3efalse%3c%2fexportAutoNumber%3e%3cexportCalendar%3efalse%3c%2fexportCalendar%3e%3cexportCustomization%3efalse%3c%2fexportCustomization%3e%3cexportEmailTracking%3efalse%3c%2fexportEmailTracking%3e%3cexportGeneral%3efalse%3c%2fexportGeneral%3e%3cexportMarketing%3efalse%3c%2fexportMarketing%3e%3cexportOutlookSynchronization%3efalse%3c%2fexportOutlookSynchronization%3e%3cexportRelationshipRole%3efalse%3c%2fexportRelationshipRole%3e%3cexportSales%3efalse%3c%2fexportSales%3e%3cexportExternalApplications%3efalse%3c%2fexportExternalApplications%3e%3cexportIsvConfig%3efalse%3c%2fexportIsvConfig%3e%3c%2fsettings%3e
Stack Trace Info: [CrmException: An unexpected error occurred.]
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.ExportSolutionCommand.Execute()
at Microsoft.Crm.Dialogs.ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion)
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)
[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
[2017-08-04 10:49:17.190] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 19 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: ea1f924c-c12f-4466-9545-f9ff28bc1f16 | ExceptionConverter.ConvertMessageAndErrorCode ilOffset = 0x221
at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCode) ilOffset = 0x221
at ExceptionConverter.ToSingleFaultOther(Exception exception) ilOffset = 0x2B
at ExceptionConverter.ToSingleFaultUnTyped(Exception exception) ilOffset = 0x3C
at ExceptionConverter.ConvertToFault(Exception exception) ilOffset = 0x57
at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException) ilOffset = 0x6D
at FaultHelper.ConvertToFault(Exception exception) ilOffset = 0x0
at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context) ilOffset = 0x24B
at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context) ilOffset = 0x5
at MainApplication.Application_Error(Object sender, EventArgs eventArguments) ilOffset = 0xB5
at HttpApplication.RaiseOnError() ilOffset = 0x26
at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0xF6
at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31
at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xD3
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x11E
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x9
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF
at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1C8
at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x9
>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #81982444: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: An unexpected error occurred.
> at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
> at Microsoft.Crm.Application.Platform.ServiceCommands.ExportSolutionCommand.Execute()
> at Microsoft.Crm.Dialogs.ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion)
> 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)
> at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
*This post is locked for comments