web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Solution export error 2013 On premise

(0) ShareShare
ReportReport
Posted on by 1,942

The Web Service plug-in failed in OrganizationId: d85dac9f-7328-e411-80d7-00155d0a5b12; SdkMessageProcessingStepId: 681f0f11-8e01-40a1-8d84-424242bb392c; EntityName: none; Stage: 30; MessageName: ExportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=6.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.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.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.Tools.ImportExportPublish.SecurityRoleHandler.GenerateNodes(BusinessEntityCollection rolePrivileges, XmlDocument XDoc, RoleService r, XmlElement roleNode, Role role)

   at Microsoft.Crm.Tools.ImportExportPublish.SecurityRoleHandler.ExportItem(XmlDocument XDoc)

   at Microsoft.Crm.Tools.ImportExportPublish.ExportHandler.Export(XmlDocument XDoc)

   at Microsoft.Crm.Tools.ImportExportPublish.RootExportHandler.RunExport()

   at Microsoft.Crm.WebServices.ExportXmlService.ExportSolutionWithTargetVersion(String solutionName, Boolean managed, String targetVersion, Boolean exportAutoNumberingSettings, Boolean exportCalendarSettings, Boolean exportCustomizationSettings, Boolean exportEmailTrackingSettings, Boolean exportGeneralSettings, Boolean exportMarketingSettings, Boolean exportOutlookSynchronizationSettings, Boolean exportRelationshipRoles, Boolean exportIsvConfig, ExecutionContext context)

 

 

 

I get the following error while exporting the solution.
It consists of custom entities,fields, plugins, Business process flows...etc

*This post is locked for comments

I have the same question (0)
  • Magor Kovacs Profile Picture
    1,835 on at

    Hello Vighnesh,

    The error message is rather generic. Any chance you could perform a Verbose level tracing on the server while exporting the solution and upload the results?

  • Community Member Profile Picture
    on at

    Are you exporting through the usual UI or doing this from code?

  • Community Member Profile Picture
    on at

    Is this just a duplicate thread for the same issue logged by another user:

    community.dynamics.com/.../144006.aspx

  • Vighnesh Profile Picture
    1,942 on at

    Thanks for the reply Magor Kovacs,i don't know have any idea about this concept.

    I will check with my Administration team and let you know.

  • Vighnesh Profile Picture
    1,942 on at

    Yeah I'm exporting through the usual UI(didn't use any code).

    I don't know why i'm getting plugin error.

  • Vighnesh Profile Picture
    1,942 on at

    Thank you for replying adam vero, i have seen the thread and it was helpful.

    I should contact my system admins to have look through these traces.

  • Verified answer
    Vighnesh Profile Picture
    1,942 on at

    I don't know where it went wrong in the plugins.

    I have created a new solution and added the existing components to it(Including required components) and tried to export the solution, it is working fine.

    one more issue is that the trace files were not able to generate the document (it is shown in the event viewer)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans