Answered by:
Error during Customizations Import - MS CRM 3.0

Question
-
I am receiving the following error during importing customizations from an xml file using the Import Customizations feature in CRM 3.0
-------------------------------------------------------------------
FYI
The CRM Server has the following configuration
Windows Server 2003 - SP2
SQL Server 2005 SP2
CRM Server 3.0 - Rollup2, KB940739The server from which the customization has been exported is also of the same configuration.
I have even verified the Revision column value in the BuildVersion table in <org>_MSCRM database and the Version info in the MSCRM registry keys. All these match.
-------------------------------------------------------------------
The error information from the trace is
===================================================
# CRM Tracing Version 1.1
# LocalTime: 2009-06-30 18:59:07.8
# Categories: *:Error
# Schedule: Daily
# CallStackOn: True
# ComputerName: CRMSERVER8
# CRMVersion: 3.0.5300.0
[2009-06-30 18:59:07.8] Process: w3wp |Thread: 5500 |Category: Exception |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.GetCrmException
at CrmSoapExtension.GetCrmException(Exception exception)
at CrmSoapExtension.GetCrmException(Exception exception)
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: , ErrorCode: -2147204784, InnerException: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
[2009-06-30 18:59:08.9] Process: w3wp |Thread: 5500 |Category: Platform |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.ProcessMessage
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>CrmSoapExtension detected CrmException:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
--- End of inner exception stack trace ---
# CRM Tracing Version 1.1
# LocalTime: 2009-06-30 20:17:02.1
# Categories: *:Error
# Schedule: Daily
# CallStackOn: True
# ComputerName: CRMSERVER8
# CRMVersion: 3.0.5300.0
[2009-06-30 20:17:02.1] Process: w3wp |Thread: 4920 |Category: Exception |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.GetCrmException
at CrmSoapExtension.GetCrmException(Exception exception)
at CrmSoapExtension.GetCrmException(Exception exception)
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: , ErrorCode: -2147204784, InnerException: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
[2009-06-30 20:17:02.7] Process: w3wp |Thread: 4920 |Category: Platform |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.ProcessMessage
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>CrmSoapExtension detected CrmException:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
--- End of inner exception stack trace ---
# CRM Tracing Version 1.1
# LocalTime: 2009-06-30 20:59:05.2
# Categories: *:Error
# Schedule: Daily
# CallStackOn: True
# ComputerName: CRMSERVER8
# CRMVersion: 3.0.5300.0
[2009-06-30 20:59:05.2] Process: w3wp |Thread: 5564 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmArgumentNullException..ctor
at CrmArgumentNullException..ctor(String message)
at SecurityLibrary.GetOrganizationId(Guid user)
at ExecutionContext.OnBeginRequest(Guid callerId, Guid businessId, String methodName, ServiceMethodType methodType)
at ExecutionContext.OnBeginRequest(Guid callerId, Guid businessId)
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.ReadParameters()
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: Empty Guid passed to SecurityLibrary.GetOrganizationId, ErrorCode: -2147220989, InnerException: System.ArgumentNullException: Value cannot be null.
Parameter name: Empty Guid passed to SecurityLibrary.GetOrganizationId
[2009-06-30 20:59:05.3] Process: w3wp |Thread: 5564 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmSoapExtension.ProcessMessage
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>CrmSoapExtension detected CrmException:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Microsoft.Crm.CrmArgumentNullException: Empty Guid passed to SecurityLibrary.GetOrganizationId ---> System.ArgumentNullException: Value cannot be null.
Parameter name: Empty Guid passed to SecurityLibrary.GetOrganizationId
--- End of inner exception stack trace ---
at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetOrganizationId(Guid user)
at Microsoft.Crm.BusinessEntities.ExecutionContext.OnBeginRequest(Guid callerId, Guid businessId, String methodName, ServiceMethodType methodType)
at Microsoft.Crm.BusinessEntities.ExecutionContext.OnBeginRequest(Guid callerId, Guid businessId)
at Microsoft.Crm.WebServices.CrmSoapExtension.ProcessMessage(SoapMessage message)
at System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[] extensions)
at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
--- End of inner exception stack trace ---
# CRM Tracing Version 1.1
# LocalTime: 2009-06-30 21:45:24.1
# Categories: *:Error
# Schedule: Daily
# CallStackOn: True
# ComputerName: CRMSERVER8
# CRMVersion: 3.0.5300.0
[2009-06-30 21:45:24.1] Process: w3wp |Thread: 4560 |Category: Exception |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.GetCrmException
at CrmSoapExtension.GetCrmException(Exception exception)
at CrmSoapExtension.GetCrmException(Exception exception)
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: , ErrorCode: -2147204784, InnerException: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
[2009-06-30 21:45:24.7] Process: w3wp |Thread: 4560 |Category: Platform |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.ProcessMessage
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>CrmSoapExtension detected CrmException:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
--- End of inner exception stack trace ---
For more information, please refer the below error section
_________________________________________________
[2009-07-01 15:52:49.5] Process: w3wp |Thread: 1924 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The underlying connection was closed: The request was canceled.
[2009-07-01 15:58:20.0] Process: w3wp |Thread: 1924 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
[2009-07-01 16:03:51.7] Process: w3wp |Thread: 1924 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
[2009-07-01 16:09:23.0] Process: w3wp |Thread: 1924 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
[2009-07-01 16:14:53.2] Process: w3wp |Thread: 1924 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
_________________________________________________
This error is logged after a while during the customization import.
The customization file size is nearly 7MB.
I have set the
maxuploadfilesize key value to 0x0800000.
OLEDBTimeout = 0x0af2a300
ExtendedTimeout = 0x0f9aca00
And God said "Let there be Light." ... [Genesis 1:3]Wednesday, July 1, 2009 1:08 PM
Answers
-
hi
is both your environments a exact match?
with crm 3 the rollups plays a huge roll in the xml schema.You can see if you can get a XMLCompare utility where you can match your two systems.Look at the headers of the xml file to start.
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1- Marked as answer by Jim Glass Jr Thursday, July 9, 2009 8:06 PM
Monday, July 6, 2009 5:01 AM
All replies
-
Hi,
Maybe this KB will help you: http://support.microsoft.com/default.aspx/kb/918609
Best regards,
Kuba Skalbania
-- Kuba Skałbania, NetwiseWednesday, July 1, 2009 1:43 PM -
Hi Kuba,
Thanks for your reply and the link. I have already set the prescribed registry values and also made changes in the web.config files in the MS CRM Application.
I have a doubt whether installation of the rollups have any side effects on the import of customizations and the access of these registry values.
I am still not able to import the customizations file in one shot. I am also unable to revert back to my default database backup (without any rollups ) that was saved before making any customizations and log in to CRM. It throws a User Authentication error. :(
Error in w3wp-MSCRMServices-20090702.log file for your reference
____________________________________________________________________[2009-07-02 13:50:52.6] Process: w3wp |Thread: 5408 |Category: Platform |User: 0671d4b7-e663-de11-91b7-00188b7fe33b |Level: Error | CrmSoapExtension.ProcessMessage
at CrmSoapExtension.ProcessMessage(SoapMessage message)
at SoapMessage.RunExtensions(SoapExtension[] extensions)
at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
at WebServiceHandler.WriteException(Exception e)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>CrmSoapExtension detected CrmException:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlTransaction.Commit()
at Microsoft.Crm.BusinessEntities.CrmTransaction.CommitTransaction()
at Microsoft.Crm.Tools.ImportExportPublish.RootImportHandler.RunImport(String[] ImportEntities, ImportMask Mask)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String parameterXml)
at Microsoft.Crm.WebServices.ImportXmlWebService.Import(String parameterXml, String customizationXml)
--- End of inner exception stack trace ---____________________________________________________________________
Error in w3wp-CRMWeb-20090702.log file for your reference
____________________________________________________________________>Error building context-sensitive reports: The operation has timed-out.
[2009-07-02 13:31:50.1] Process: w3wp |Thread: 2676 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
[2009-07-02 13:37:20.9] Process: w3wp |Thread: 2676 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The underlying connection was closed: The request was canceled.
[2009-07-02 13:42:51.2] Process: w3wp |Thread: 2676 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
[2009-07-02 13:48:21.5] Process: w3wp |Thread: 2676 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |
>Exception in NotificationWatcherThreadProc: The operation has timed-out.
____________________________________________________________________
And God said "Let there be Light." ... [Genesis 1:3]Thursday, July 2, 2009 10:03 AM -
hi
break you customization into smaller chunks at a time
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1Friday, July 3, 2009 3:06 PM -
Is there no way I can import all customizations in one go? Since all the entities are related to one another, I will have to select all entities and import them in the end, so that all the relationships are imported too.
And God said "Let there be Light." ... [Genesis 1:3]Monday, July 6, 2009 4:36 AM -
hi
is both your environments a exact match?
with crm 3 the rollups plays a huge roll in the xml schema.You can see if you can get a XMLCompare utility where you can match your two systems.Look at the headers of the xml file to start.
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1- Marked as answer by Jim Glass Jr Thursday, July 9, 2009 8:06 PM
Monday, July 6, 2009 5:01 AM -
You have run into a problem that is known with CRM 4.0. Patience and retries are the best way. We have 480+ entities in one of our verticals, so we have felt your pains for quite a while.
CRM had an official limit of about 200 customized entities that were supported, which was made either unlimited or higher, which I do not recall, but they never changed the underlying problems with it. It has to do with the way CRM handles security and relations, and how it dynamically builds SQL statements for the entities.
Unfortunately, that doesn't mean that it won't break with fewer entities than 200, it just means that's where the pain gets really high.
The solution that we found is to retry several times. Sometimes restarting the IIS helps, sometimes rebooting the CRM server and making sure you are the only one on, and nobody else is doing anything to CRM helps.
We heard through backchannels that this will not be addressed by Microsoft until CRM 5.0 at the earliest, so about 1 year from now.Friday, July 24, 2009 5:05 PM