Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

CRM 2016 SP1 - Unable to export unmanaged solutions

$
0
0

Today I have been busy with trying to get our ALM process going for my current project but I'm stumbling on a very strange error when exporting unmanaged solutions from my CRM 2016 SP1 development organization.

I have created an unmanaged solution which holds sub-components of both OOB (contact, account etc.) entities and custom entities. Once I try to export an unmanaged solution I get an unexpected error has occurred.


Event log:

The Web Service plug-in failed in OrganizationId: 372fe122-dc3d-e611-80db-000d3a2505db; SdkMessageProcessingStepId: 681f0f11-8e01-40a1-8d84-424242bb392c; EntityName: none; Stage: 30; MessageName: ExportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.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.ArgumentException: Stream was not writable.
   at System.IO.BinaryWriter..ctor(Stream output, Encoding encoding, Boolean leaveOpen)
   at MS.Internal.IO.Zip.ZipIOBlockManager.get_BinaryWriter()
   at MS.Internal.IO.Zip.ZipIOEndOfCentralDirectoryBlock.Save()
   at MS.Internal.IO.Zip.ZipIOBlockManager.SaveContainer(Boolean closingFlag)
   at MS.Internal.IO.Zip.ZipIOBlockManager.Save(Boolean closingFlag)
   at MS.Internal.IO.Zip.ZipArchive.Dispose(Boolean disposing)
   at System.IO.Packaging.ZipPackage.Dispose(Boolean disposing)
   at System.IO.Packaging.Package.System.IDisposable.Dispose()
   at Microsoft.Crm.CrmZip.Dispose(Boolean disposing)
   at Microsoft.Crm.CrmZip.Dispose()
   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, Boolean exportSales, Boolean exportExternalApplications, ExecutionContext context)
.

I have tried removing various components (plug-in assemblies, sitemap, webresources etc) but nothing seems to help.

Configuration:
CRM 2016 SP1 On premise

English language, Organization with Dutch language pack (1043)

SSL

Any ideas?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>