locked
Error Adding Custom Entity to CRM 2011 - sendToPipe, Int32 timeout RRS feed

  • Question

  • When I attempt to create a custom entity in CRM 2011, I get the error message shown below.

    The contents of the log file that I am prompted to download from the error message in the image directly above, is shown below.

    Has anyone seen this type of issue before and know of a fix? This just started happening...

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, 
    PublicKeyToken=31bf3856ad364e35]]: System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error.
    Reference number for administrators or support: #3FE525EADetail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
        <KeyValuePairOfstringanyType>
          <d2p1:key>CallStack</d2p1:key>
          <d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string">   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       at Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       at Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       at Microsoft.Crm.Metadata.SqlHelper.ExecuteNonQuery(ISqlExecutionContext context, IDbCommand sqlCommand)
       at Microsoft.Crm.Metadata.SqlHelper.ExecuteNonQuery(MetadataHelper helper, String sqlCommand)
       at Microsoft.Crm.Metadata.EntityCreateAction.DatabaseOperation()
       at Microsoft.Crm.Metadata.MetadataHelper.ProcessDatabaseOperations(CounterList listCounters)
       at Microsoft.Crm.Metadata.MetadataHelper.ProcessQueue()
       at Microsoft.Crm.Metadata.EntityService.CreateInternal(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context)
       at Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo, MetadataHelper metadataHelper, ExecutionContext context)
       at Microsoft.Crm.Metadata.EntityService.Create(EntityCreateInfo entityInfo, Guid solutionId)
       at Microsoft.Crm.Application.WebServices.SystemCustomization.EntityCreate.Execute(Guid solutionId, ParameterBag paramBag)
       at Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomization.CreateEntity(XmlNode data)</d2p1:value>
        </KeyValuePairOfstringanyType>
      </ErrorDetails>
      <Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3FE525EA</Message>
      <Timestamp>2015-08-26T14:07:05.81023Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>




    • Edited by ACECORP Wednesday, August 26, 2015 3:31 PM
    Wednesday, August 26, 2015 3:29 PM

Answers

  • Hello,

    Turn on trace, restart IIS, reproduce error, recheck trace, post details here.


    Dynamics CRM MVP
    My blog

    • Marked as answer by ACECORP Saturday, October 17, 2015 8:57 PM
    Saturday, August 29, 2015 4:08 PM
    Moderator

All replies

  • Hello,

    Turn on trace, restart IIS, reproduce error, recheck trace, post details here.


    Dynamics CRM MVP
    My blog

    • Marked as answer by ACECORP Saturday, October 17, 2015 8:57 PM
    Saturday, August 29, 2015 4:08 PM
    Moderator
  • I ended up getting this resolved. I forgot what the issue was but it was a real nightmare. 
    Saturday, October 17, 2015 8:57 PM