locked
Unable to create entity RRS feed

  • Question

  • I am working on a trial version,  I have try to create an entity called 'Property'  after I delete it (also called 'Property). The reason is that I want to try to get my schema name right for my primary field (from new_name to new_properptyID).  When I try to save the new entity 'Property'.  I have a SQL Server error.  What can I do?

    

    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: #2DC3680BDetail: 
    <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" />
      <Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2DC3680B</Message>
      <Timestamp>2012-03-10T14:13:55.2694385Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

    Saturday, March 10, 2012 2:53 PM

Answers

  • you cannot use new_propertyid as the schema name of your primary field. That schema name is reserved for the internal guid that is assigned to each record of this entity.

    Try another name and it should allow you to create the entity.

    HTH 

    Sam 


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    • Proposed as answer by Sam - Inogic Saturday, March 10, 2012 4:45 PM
    • Marked as answer by IreneLee2001 Sunday, March 11, 2012 3:21 AM
    • Unmarked as answer by IreneLee2001 Thursday, March 15, 2012 5:40 AM
    • Marked as answer by IreneLee2001 Sunday, March 25, 2012 3:08 AM
    Saturday, March 10, 2012 4:44 PM