- Error when creating a new custom entity.
- Posted by Paul on October 16th, 2006
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.SoapExc eption: 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.Get OrganizationId(Guid
user)
at Microsoft.Crm.BusinessEntities.ExecutionContext.On BeginRequest(Guid
callerId, Guid businessId, String methodName, ServiceMethodType methodType)
at Microsoft.Crm.BusinessEntities.ExecutionContext.On BeginRequest(Guid
callerId, Guid businessId)
at Microsoft.Crm.WebServices.CrmSoapExtension.Process Message(SoapMessage
message)
at
System.Web.Services.Protocols.SoapMessage.RunExten sions(SoapExtension[]
extensions)
at System.Web.Services.Protocols.SoapServerProtocol.R eadParameters()
at System.Web.Services.Protocols.WebServiceHandler.In voke()
at System.Web.Services.Protocols.WebServiceHandler.Co reProcessRequest()
--- End of inner exception stack trace ---</faultstring>
============================================
Maybe something has become unstuck in the metadata?
Please, where do I start with this?!
cheers,
Paul.
- Posted by Phil Mitchell on October 16th, 2006
Did you delete the 'System Customizer' role?
Deleting this role will prevent you from adding new custom entities.
If so, do a search for 'System Customizer' in the 'Microsoft Dynamics CRM
Developmer' newsgroup for some suggestions on restoring it.
Note: You can't just create a new role called 'System Customizer'. There are
some internal settings on the role that are needed.
Regards,
Phil.
"Paul" wrote:
- Posted by Paul on October 16th, 2006
Thanks for your response Phil. Unfortunately the System Customizer role is
still there and I am still a member of it.
It really looks like an internal bug in the CRM code to me?
If that is the case, what should my next move be?
cheers,
Paul
- Posted by WJN on December 17th, 2006
I seem to have the same error. I can not create a new custom entity. (Apart
from formview changes my CRM is standard.)
Updated it with roll-up pack 1 previously, mayby that is connected?
"Paul" wrote:
- Posted by philipp.smolarz@bluewin.ch on December 27th, 2006
Hi there
I have exactly the same problem. What to do? The system customizer role
still exists.
Thanks for quick help!
Philipp
WJN schrieb:
- Posted by Jeffry van de Vuurst on December 27th, 2006
It could have something to do with the Rollup, take a look at this
post: http://blog.sonomapartners.com/2006/...oft_crm_u.html
HTH,
--
Jeffry van de Vuurst
CWR Mobility BV
www.cwrmobility.com/weblog
--
WJN schreef: