Asked by:
Update Record Error

Question
-
Hi!
i upgrade CRM 3.0 to CRM 4.0.
i have got a custom entity. If i update a record in custom entity i get an error. No javascript code,workflow and plugin.
Event Viewer Details:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/7/2008 9:58:23 AM
Event time (UTC): 7/7/2008 6:58:23 AM
Event ID: 278841cff7a6442c85f8c3586a47ddf7
Event sequence: 63
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-128598874377621684
Trust level: Full
Application Virtual Path: /
Application Path: c:\inetpub\wwwroot\
Machine name: ISTEBIMSCRM
Process information:
Process ID: 2844
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ArgumentNullException
Exception message: Value cannot be null.
Parameter name: g
Request information:
Request URL: http://localhost/userdefined/areas.aspx?oType=10000&security=852023&tabSet=new_galileoaccount_new_galileocontrats
Request path: /userdefined/areas.aspx
User host address: 127.0.0.1
User: NTD_EBI\crmadmin
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Guid..ctor(String g)
at Microsoft.Crm.Application.Controls.AppAreaPage.set_CurrentObjectId(String value)
at Microsoft.Crm.Application.Controls.AppAreaPage.ConfigurePage()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.Monday, July 7, 2008 7:21 AM
All replies
-
Does this entity happen to have CRMMoney attributes? If so, you'll want to make sure you set the transactioncurrencyid when inserting the record.
If this is on a form, you'll have to make sure that the Transaction Currency attribute is on the form so it may be set automatically by CRM.
Tuesday, August 5, 2008 11:02 PM -
http://blogs.msdn.com/benlec/archive/2008/03/04/crmdiagtool4-for-microsoft-crm-4-0-has-been-released.aspx
For More see MS CRM Support section
http://support.microsoft.com/ph/12976
Regards,
Imran
Wednesday, August 6, 2008 10:20 AMModerator -
If you are still having this error then find the security role of the current user that gets this error(I am guessing here that most users will have this problem except admins), try giving READ rights to Entity, Attribute and Relationship for that users security role (found under Customization under the security role.)Tuesday, September 23, 2008 11:07 AM