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. ---&gt; Microsoft.Crm.CrmArgumentNullException: Empty
Guid passed to SecurityLibrary.GetOrganizationId ---&gt;
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.

RE: Error when creating a new custom entity. by PhilMitchell

PhilMitchell
Mon Oct 16 01:28:02 CDT 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:

> 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.
>
>
>

Re: Error when creating a new custom entity. by Paul

Paul
Mon Oct 16 03:14:17 CDT 2006

> Did you delete the 'System Customizer' role?
> Deleting this role will prevent you from adding new custom entities.

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



Re: Error when creating a new custom entity. by WJN

WJN
Sun Dec 17 13:06:01 CST 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:

> > Did you delete the 'System Customizer' role?
> > Deleting this role will prevent you from adding new custom entities.
>
> 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
>
>
>

Re: Error when creating a new custom entity. by philipp

philipp
Wed Dec 27 06:15:16 CST 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:

> 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:
>
> > > Did you delete the 'System Customizer' role?
> > > Deleting this role will prevent you from adding new custom entities.
> >
> > 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
> >
> >
> >


Re: Error when creating a new custom entity. by Jeffry

Jeffry
Wed Dec 27 09:34:19 CST 2006

It could have something to do with the Rollup, take a look at this
post: http://blog.sonomapartners.com/2006/12/microsoft_crm_u.html

HTH,

--
Jeffry van de Vuurst
CWR Mobility BV
www.cwrmobility.com/weblog
--

WJN schreef:

> 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:
>
> > > Did you delete the 'System Customizer' role?
> > > Deleting this role will prevent you from adding new custom entities.
> >
> > 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
> >
> >
> >