Hi,
It's not new entity. It's currently existing. So I don't want to rename it.
And here is the detail of error:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 207 (Fault Detail is equal to Exception details:
ErrorCode: 0x80044150
Message: Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 207
TimeStamp: 2020-02-11T08:10:33.9567199Z
--
Exception details:
ErrorCode: 0x80044150
Message: Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 207
TimeStamp: 2020-02-11T08:10:33.9567199Z
--
Exception details:
ErrorCode: 0x80040216
Message: Exception output:: System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'Name'.
Invalid column name 'ImportSequenceNumber'.
Invalid column name 'OverriddenCreatedOn'.
Invalid column name 'ChildIncidentCountId'.
Invalid column name 'TimeZoneRuleVersionNumber'.
Invalid column name 'UTCConversionTimeZoneCode'.
Invalid column name 'ChildIncidentCountId'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(T...).
Please note that I use '<all-attributes />' in fetchxml. So I don't know why it throw the error.
Thanks you