Hi,
I am on CRM 2011 on-premise, Rollup 14.
I have a CRM unmanaged solution that contains some reports.
When I try to export the solution, nothing happens.
If I go to the server Event Viewer, the following error is logged:
Log Name: Application
Source: MSCRMWebService
Date: 16/09/2013 14:29:10
Event ID: 18176
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SRVCRM-NA.naturex.com
Description:
The Web Service plug-in failed in OrganizationId: cce41f12-cb16-e311-a75d-005056ad027f; SdkMessageProcessingStepId: 681f0f11-8e01-40a1-8d84-424242bb392c; EntityName: none; Stage: 30; MessageName: ExportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.ReconstructCustomReportXml(BusinessEntity report)
at Microsoft.Crm.Tools.ImportExportPublish.ReportsHandler.ExportReportAsFile(Report report, XmlNode reportNode, XmlDocument importDocument)
at Microsoft.Crm.Tools.ImportExportPublish.ReportsHandler.ExportReportsDefinition(XmlDocument importDocument, XmlElement reportsElement, Dictionary`2 exportedReports)
at Microsoft.Crm.Tools.ImportExportPublish.ReportsHandler.ExportItem(XmlDocument importDocument)
at Microsoft.Crm.Tools.ImportExportPublish.ExportHandler.Export(XmlDocument XDoc)
at Microsoft.Crm.Tools.ImportExportPublish.RootExportHandler.RunExport()
.
Event Xml:
<Event xmlns="schemas.microsoft.com/.../event">
<System>
<Provider Name="MSCRMWebService" />
<EventID Qualifiers="49152">18176</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-09-16T12:29:10.000000000Z" />
<EventRecordID>82096</EventRecordID>
<Channel>Application</Channel>
<Computer>SRVCRM-NA.naturex.com</Computer>
<Security />
</System>
<EventData>
<Data>cce41f12-cb16-e311-a75d-005056ad027f</Data>
<Data>681f0f11-8e01-40a1-8d84-424242bb392c</Data>
<Data>none</Data>
<Data>30</Data>
<Data>ExportSolution</Data>
<Data>Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Data>
<Data>Microsoft.Crm.Extensibility.InternalOperationPlugin</Data>
<Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.ReconstructCustomReportXml(BusinessEntity report)
at Microsoft.Crm.Tools.ImportExportPublish.ReportsHandler.ExportReportAsFile(Report report, XmlNode reportNode, XmlDocument importDocument)
at Microsoft.Crm.Tools.ImportExportPublish.ReportsHandler.ExportReportsDefinition(XmlDocument importDocument, XmlElement reportsElement, Dictionary`2 exportedReports)
at Microsoft.Crm.Tools.ImportExportPublish.ReportsHandler.ExportItem(XmlDocument importDocument)
at Microsoft.Crm.Tools.ImportExportPublish.ExportHandler.Export(XmlDocument XDoc)
at Microsoft.Crm.Tools.ImportExportPublish.RootExportHandler.RunExport()
</Data>
</EventData>
</Event>