Hi All.
I am converting the crm 4.0 code into mscrm 2013,
while editing the gridview it throws the below error.
An exception of type 'System.ServiceModel.FaultException`1' occurred in Microsoft.Xrm.Sdk.dll but was not handled in user code
Additional information: System.InvalidCastException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #49B35F5E
newPayrate.Attributes["new_rate"] = new Microsoft.Xrm.Sdk.Money();
newPayrate.Attributes["new_rate"] = Convert.ToDecimal(txtAmountdollar.Text);
The above lines are taking the values from the gridview and assigning those to attributes of that particular entity . in this case newPayrate is the entity .
when taking all the values it is throwing an error when calling update method of organization service proxy.
in our case it is _service.Update(newPayrate); here it is throwing the above error .
Kindly help me for this scenario.
Thanks in Advance