Microsoft CRM Unhandled Error Details:

Mar 12, 2010 at 3:20 AM

Source Error:

Line 405: EntityId= ((CreateResponse)_crmService.Execute(createRequest)).id;

Source File: c:\Program Files\Microsoft Dynamics CRM Customer Portal\Controls\EntityEditor.ascx.cs     Line: 45

The given key was not present in the dictionary.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[KeyNotFoundException: The given key was not present in the dictionary.]

System.ThrowHelper.ThrowKeyNotFoundException() +28

System.Collections.Generic.Dictionary`2.get_Item(TKey key) +7455996

EditEntityAttributes.GetAttributeFields() +2690

EditEntityAttributes.Page_Load(Object sender, EventArgs e) +626

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

 System.Web.UI.Control.OnLoad(EventArgs e) +99

 System.Web.UI.Control.LoadRecursive() +50

 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Mar 12, 2010 at 3:26 AM

As aditional information we added an attribute to the form. when we create a Case, send a error message, & create a Case register. but in the console we can acces to the entities but case, in wich send me that error. I tried to figure it out but I can´t find a clue... If you can help me You will be saving my job