I am attempting to add a new custom entity when deploying a customer site.
I simply enter the entity's short name and plural name and set it to
Ownership=User and click save and get a message that it failed and to call
the SystemAdmin.
(I have successfully generated this entity in our test environment and
exported the customization and attempted to import that into the live system
which failed so now I am attempting to do this manually.)
I have generated logs and get the following error information:
===========================================
<faultstring>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 ---</faultstring>
============================================
Maybe something has become unstuck in the metadata?
Please, where do I start with this?!
cheers,
Paul.