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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics CRM 2015 - Error on Export Solution

(0) ShareShare
ReportReport
Posted on by

Hi friends,

CRM Dynamics 2015 - Update 0.2

Servers:

ACOCRMHOM01 -> Version: 7.0.0002.0053 -> Roles: Full Server

ACOSQL01 -> Version: 7.0.0002.0053 -> Roles: SRS Data Connector, SQL Server (2014 SP1 CU2 - 12.0.4422.0 )

I've nativelly customized Dynamics CRM 2015 (no codes) and the time for Exporting this solution (Default) arrived. But I got a problem. After executing the "Export Solution" button on "Customize Solution" Customization Settings, the error message below appear after some minutes. No "Download Log" available.

(Click on the image to enlarge)

4846.crmerror.png

I checked out the Event Log and I´ve found nothing but only this (important points were marked as red).:

ACOCRMHOM01 18176 Error MSCRMWebService Application 15/01/2016 11:06:37

The Web Service plug-in failed in OrganizationId: 0166367d-adb3-e411-80bd-00155dfe1800; SdkMessageProcessingStepId: 681f0f11-8e01-40a1-8d84-424242bb392c; EntityName: none; Stage: 30; MessageName: ExportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Threading.ThreadAbortException: Thread was being aborted.
   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).

So I decided to activate Tracing for detailed information. And I got the exceptions below(important points were marked as red).

As you can see, the first exception ocurred when executing this query:

SELECT [LanguageId] AS [languageid],
 [Label] AS [label],
 [LocalizedLabelId] AS [localizedlabelid],
 [LabelTypeCode] AS [labeltypecode],
 [SolutionId] AS [solutionid] FROM [LocalizedLabelView] WHERE ObjectId = '5efe59ef-ecff-4682-9358-50718cc370c5' AND ObjectColumnName = 'displayname'

To figure out if it was a structural problem on database, I ran this query on MS SQL Server Management Studio (AllenCO_MSCRM) database. But no errors occurred as you can see on the figure below (click to enlarge):

managementstudio.png

I tried everything, including disable/edit/enable the organization from Deployment Manager. Nothing solves.

Can anyone help me on this?

Best Regards,

Gabriel

[2016-01-15 11:06:35.908] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   46 |Category: Platform.Sql |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | DBCommandExecutor.ExecuteQuery ilOffset = 0x45

       at DBCommandExecutor.ExecuteQuery(IDbCommand command, ISqlExecutionContext context) ilOffset = 0x45

       at MetadataQueryLibrary.RetrieveMultiple(SimpleQueryExpression queryExpression, ISqlExecutionContext context, DatabaseQueryTarget queryTarget) ilOffset = 0x2D

       at SolutionAwareLocalizedLabelService.RetrieveExistingLabels(Guid entityId, String attributeName, Boolean includeUnpublished, Boolean includeDeleted, ExecutionContext context) ilOffset = 0x14

       at SolutionAwareLocalizedLabelService.RetrieveLocLabelsNoSecurity(ILocalizedLabelGenerator locLabelGenerator, Guid objectId, String objectIdColumnName, Boolean includeUnpublished, Boolean includeDeleted, ExecutionContext context) ilOffset = 0x0

       at LabelLoaderAllLanguages.LoadLabel(Int32 userLanguageCode, Guid objectId, String objectColumnName, ExecutionContext context) ilOffset = 0xC

       at FormLabelHelper.InsertAllLabels(Int32 entityType, ILabelLoader labelLoader, XmlDocument formDoc, XmlNode labelsNode, Int32 userLanguageCode, ExecutionContext context) ilOffset = 0x98

       at FormLabelHelper.InsertFormLabelsCommon(IBusinessEntity entity, ILabelLoader labelLoader, Boolean asLastManagedForm, ExecutionContext context) ilOffset = 0x142

       at SystemFormService.RetrieveMultipleWithAllLanguagesCommon(EntityExpression entityExpression, ExecutionContext context, Boolean withOnlyCustomLabels) ilOffset = 0x73

       at FormXmlHandler.RetrieveFormsWithAllLanguages(Boolean customLabelsOnly) ilOffset = 0x143

       at FormXmlHandler.CreateFormsInnerXmlUnmanaged(XmlElement formXmlNode, SolutionAwareLocalizedLabelService localizedLabelService) ilOffset = 0x0

       at FormXmlHandler.ExportItem(XmlDocument exportDocument) ilOffset = 0x38

       at ExportHandler.Export(XmlDocument XDoc) ilOffset = 0x27

       at ExportHandler.Export(XmlDocument XDoc) ilOffset = 0x44

       at RootExportHandler.RunExport() ilOffset = 0xC0

       at 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, ExecutionContext context) ilOffset = 0x71

       at ExportXmlService.ExportSolution(String solutionName, Boolean managed, Boolean exportAutoNumberingSettings, Boolean exportCalendarSettings, Boolean exportCustomizationSettings, Boolean exportEmailTrackingSettings, Boolean exportGeneralSettings, Boolean exportMarketingSettings, Boolean exportOutlookSynchronizationSettings, Boolean exportRelationshipRoles, Boolean exportIsvConfig, Boolean exportSales, ExecutionContext context) ilOffset = 0x1D

       at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF

       at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x25

       at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0xCF

       at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x4F

       at InternalOperationPlugin.Execute(IServiceProvider serviceProvider) ilOffset = 0x57

       at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) ilOffset = 0x265

       at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65

       at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action) ilOffset = 0x2D

       at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0xD8

       at <>c__DisplayClass1.<RunStage>b__0() ilOffset = 0x0

       at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action) ilOffset = 0x2D

       at MessageProcessor.RunStage(PipelineExecutionContext context, Int32 pipelineStage) ilOffset = 0x39

       at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x171

       at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4

       at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E

       at OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation) ilOffset = 0x238

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x33

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D

       at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26

       at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) ilOffset = 0x34

       at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6

       at ExportSolutionCommand.Execute() ilOffset = 0x6

       at ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion) ilOffset = 0xAC

       at ExportSolutionPage.ConfigureForm() ilOffset = 0xEB

       at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0x13

       at Control.PreRenderRecursiveInternal() ilOffset = 0x54

       at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3

       at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C

       at Page.ProcessRequest() ilOffset = 0x14

       at Page.ProcessRequest(HttpContext context) ilOffset = 0x33

       at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D

       at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>Exception when executing query: SELECT [LanguageId] AS [languageid],

       [Label] AS [label],

       [LocalizedLabelId] AS [localizedlabelid],

       [LabelTypeCode] AS [labeltypecode],

       [SolutionId] AS [solutionid] FROM [LocalizedLabelView] WHERE ObjectId = '5efe59ef-ecff-4682-9358-50718cc370c5' AND ObjectColumnName = 'displayname' Exception: System.Threading.ThreadAbortException: Thread was being aborted.

   at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )

   at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle pConn, IntPtr& packet, Int32 timeout)

   at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()

   at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()

   at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()

   at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()

at System.Data.SqlClient.SqlDataReader.get_MetaData()

   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)

   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()

   at Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)

   at Microsoft.Crm.CrmDbConnection.InternalExecuteReader(IDbCommand command, Boolean capturePerfTrace)

   at Microsoft.Crm.CrmDbConnection.ExecuteReader(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)

   at Microsoft.Crm.Platform.MetadataBusinessEntities.DBCommandExecutor.ExecuteQuery(IDbCommand command, ISqlExecutionContext context)

[2016-01-15 11:06:36.299] Process: w3wp |Organization:0166367d-adb3-e411-80bd-00155dfe1800 |Thread:   46 |Category: Platform.Sdk |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | VersionedPluginProxyStepBase.Execute ilOffset = 0x65

       at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65

       at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action) ilOffset = 0x2D

       at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0xD8

       at <>c__DisplayClass1.<RunStage>b__0() ilOffset = 0x0

       at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action) ilOffset = 0x2D

       at MessageProcessor.RunStage(PipelineExecutionContext context, Int32 pipelineStage) ilOffset = 0x39

       at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x171

       at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4

       at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E

       at OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation) ilOffset = 0x238

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x33

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D

       at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26

       at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) ilOffset = 0x34

       at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6

       at ExportSolutionCommand.Execute() ilOffset = 0x6

       at ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion) ilOffset = 0xAC

       at ExportSolutionPage.ConfigureForm() ilOffset = 0xEB

       at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0x13

       at Control.PreRenderRecursiveInternal() ilOffset = 0x54

       at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3

       at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C

       at Page.ProcessRequest() ilOffset = 0x14

       at Page.ProcessRequest(HttpContext context) ilOffset = 0x33

       at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D

       at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>Web Service Plug-in failed in SdkMessageProcessingStepId: {681F0F11-8E01-40A1-8D84-424242BB392C}; EntityName: none; Stage: 30; MessageName: ExportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Threading.ThreadAbortException: Thread was being aborted.

   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)

.

[2016-01-15 11:06:37.096] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   46 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | CrmException..ctor ilOffset = 0x7

       at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7

       at CrmException..ctor(Exception innerException, Int32 errorCode, Object[] arguments) ilOffset = 0xB

       at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65

       at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action) ilOffset = 0x2D

       at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0xD8

       at <>c__DisplayClass1.<RunStage>b__0() ilOffset = 0x0

       at PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action) ilOffset = 0x2D

       at MessageProcessor.RunStage(PipelineExecutionContext context, Int32 pipelineStage) ilOffset = 0x39

       at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x171

       at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4

       at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E

       at OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation) ilOffset = 0x238

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x33

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D

       at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26

       at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) ilOffset = 0x34

       at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6

       at ExportSolutionCommand.Execute() ilOffset = 0x6

       at ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion) ilOffset = 0xAC

       at ExportSolutionPage.ConfigureForm() ilOffset = 0xEB

       at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0x13

       at Control.PreRenderRecursiveInternal() ilOffset = 0x54

       at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3

       at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C

       at Page.ProcessRequest() ilOffset = 0x14

       at Page.ProcessRequest(HttpContext context) ilOffset = 0x33

       at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D

       at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>Crm Exception: Message: An unexpected error occurred., ErrorCode: -2147220970, InnerException: System.Threading.ThreadAbortException: Thread was being aborted.

   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)

[2016-01-15 11:06:37.174] Process: w3wp |Organization:0166367d-adb3-e411-80bd-00155dfe1800 |Thread:   46 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | MessageProcessor.Execute ilOffset = 0x171

       at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x171

       at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4

       at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E

       at OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation) ilOffset = 0x238

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode) ilOffset = 0x33

       at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x2D

       at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26

       at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) ilOffset = 0x34

       at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6

       at ExportSolutionCommand.Execute() ilOffset = 0x6

       at ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion) ilOffset = 0xAC

       at ExportSolutionPage.ConfigureForm() ilOffset = 0xEB

       at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0x13

       at Control.PreRenderRecursiveInternal() ilOffset = 0x54

       at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3

       at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C

       at Page.ProcessRequest() ilOffset = 0x14

       at Page.ProcessRequest(HttpContext context) ilOffset = 0x33

       at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D

       at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>MessageProcessor fail to process message 'ExportSolution' for 'none'.

[2016-01-15 11:06:37.533] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   46 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | ExceptionConverter.ConvertMessageAndErrorCode ilOffset = 0x23B

       at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCode) ilOffset = 0x23B

       at ExceptionConverter.ToSingleFaultOther(Exception exception) ilOffset = 0x2B

       at ExceptionConverter.ToSingleFaultUnTyped(Exception exception) ilOffset = 0x3A

       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 OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode) ilOffset = 0x26

       at InprocessServiceProxy.ExecuteCore(OrganizationRequest request) ilOffset = 0x34

       at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6

       at ExportSolutionCommand.Execute() ilOffset = 0x6

       at ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion) ilOffset = 0xAC

       at ExportSolutionPage.ConfigureForm() ilOffset = 0xEB

       at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0x13

       at Control.PreRenderRecursiveInternal() ilOffset = 0x54

       at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3

       at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C

       at Page.ProcessRequest() ilOffset = 0x14

       at Page.ProcessRequest(HttpContext context) ilOffset = 0x33

       at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D

       at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>System.InvalidOperationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D9D8D25C: System.InvalidOperationException: Invalid operation. The connection is closed.

>   at System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command)

>   at System.Data.SqlClient.SqlInternalTransaction.Rollback()

>   at System.Data.SqlClient.SqlInternalTransaction.Dispose(Boolean disposing)

>   at System.Data.SqlClient.SqlTransaction.Dispose(Boolean disposing)

>   at Microsoft.Crm.CrmTransaction.Dispose(Boolean disposing)

>   at Microsoft.Crm.SqlExecutionContext.Dispose(Boolean disposing)

>   at Microsoft.Crm.SqlExecutionContext.Dispose()

>   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)

>   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode, Object operation)

>   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, OrganizationContext context, Boolean returnResponse, Boolean checkAdminMode)

>   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)

>   at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode)

[2016-01-15 11:06:37.674] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   46 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | CrmException..ctor ilOffset = 0x7

       at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7

       at CrmException..ctor(String message, Int32 errorCode) ilOffset = 0x5

       at PlatformCommand.CreateCrmExceptionFromServiceFault(FaultException`1 fe) ilOffset = 0x1B

       at PlatformCommand.XrmExecuteInternal() ilOffset = 0xF6

       at ExportSolutionCommand.Execute() ilOffset = 0x6

       at ExportSolutionPage.ExportSolution(Boolean managed, String optionXml, String targetVersion) ilOffset = 0xAC

       at ExportSolutionPage.ConfigureForm() ilOffset = 0xEB

       at AppUIPage.OnPreRender(EventArgs e) ilOffset = 0x13

       at Control.PreRenderRecursiveInternal() ilOffset = 0x54

       at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x6D3

       at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ilOffset = 0x3C

       at Page.ProcessRequest() ilOffset = 0x14

       at Page.ProcessRequest(HttpContext context) ilOffset = 0x33

       at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0x18D

       at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x15

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x10A

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>Crm Exception: Message: System.InvalidOperationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #D9D8D25C, ErrorCode: -2147220970

[2016-01-15 11:06:37.924] Process: w3wp |Organization:0166367d-adb3-e411-80bd-00155dfe1800 |Thread:   46 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | ErrorInformation.LogError ilOffset = 0x17

       at ErrorInformation.LogError() ilOffset = 0x17

       at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context) ilOffset = 0x1F5

       at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context) ilOffset = 0x5

       at MainApplication.Application_Error(Object sender, EventArgs eventArguments) ilOffset = 0x81

       at EventHandler.Invoke(Object sender, EventArgs e) ilOffset = 0xFFFFFFFF

       at HttpApplication.RaiseOnError() ilOffset = 0x26

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x85

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>MSCRM Error Report:

--------------------------------------------------------------------------------------------------------

Error: Request timed out.

 

Error Message: Request timed out.

 

Error Details: Request timed out.

 

Source File: Not available

 

Line Number: Not available

 

Request URL: localhost/.../dlg_exportsolution.aspx;command=exportsolution&ismanaged=0&optionxml=%3csettings%3e%3cexportAutoNumber%3efalse%3c%2fexportAutoNumber%3e%3cexportCalendar%3efalse%3c%2fexportCalendar%3e%3cexportCustomization%3etrue%3c%2fexportCustomization%3e%3cexportEmailTracking%3efalse%3c%2fexportEmailTracking%3e%3cexportGeneral%3etrue%3c%2fexportGeneral%3e%3cexportMarketing%3efalse%3c%2fexportMarketing%3e%3cexportOutlookSynchronization%3efalse%3c%2fexportOutlookSynchronization%3e%3cexportRelationshipRole%3etrue%3c%2fexportRelationshipRole%3e%3cexportSales%3efalse%3c%2fexportSales%3e%3cexportIsvConfig%3efalse%3c%2fexportIsvConfig%3e%3c%2fsettings%3e

 

Stack Trace Info: [HttpException: Request timed out.]

 

 

 

[2016-01-15 11:06:37.924] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   46 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 1e614a74-eda1-4683-b6c3-b9a297906ca6 | ExceptionConverter.ConvertMessageAndErrorCode ilOffset = 0x23B

       at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCode) ilOffset = 0x23B

       at ExceptionConverter.ToSingleFaultOther(Exception exception) ilOffset = 0x2B

       at ExceptionConverter.ToSingleFaultUnTyped(Exception exception) ilOffset = 0x3A

       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 = 0x81

       at EventHandler.Invoke(Object sender, EventArgs e) ilOffset = 0xFFFFFFFF

       at HttpApplication.RaiseOnError() ilOffset = 0x26

       at ApplicationStepManager.ResumeSteps(Exception error) ilOffset = 0x85

       at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) ilOffset = 0x5C

       at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) ilOffset = 0x16A

       at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) ilOffset = 0x4B

>System.Web.HttpException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2270F8B6: System.Web.HttpException (0x80004005): Request timed out.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    The same occours while trying to export tranlsations. But the query that generates the exception is this:

    SELECT [LanguageId] AS [languageid],

    [Label] AS [label],

    [LocalizedLabelId] AS [localizedlabelid],

    [LabelTypeCode] AS [labeltypecode],

    [SolutionId] AS [solutionid] FROM [LocalizedLabelView] WHERE ObjectId = '15086017-4fb0-45be-8e56-b0b514324e6c' AND ObjectColumnName = 'CustomLabel'

    And it also Works running directly on Management Studio.

  • Community Member Profile Picture
    on at

    Hi Gabriel,

    From the last error stack above it seems the export of a solution times out.

    Also does this happens when exporting just this solution or any solution. Can you check the behavior on any other organization if you have.

    Regards,

    Bilal

    Microsoft Dynamicsâ„¢ CRM Support Engineer

    Please mark my answer as verified if you found it helpful

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans