Error at Entity Update

Error at Entity Update

Post by RnJhbm » Wed, 28 Dec 2005 16:43:02


I am trying to update an entity(contact).

An error "Server was unable to process request" raisd while entity update.

Returned Detail in SoapException:
---------------------------------------
"<error>\n<code>0x80045f00</code>\n<description
/>\n<type>Platform</type>\n</error>
--------------------------------------------------------------------------------------------


source code:
--------------
crmService.CrmService _crmService = new
WindowsApplication1.crmService.CrmService();
_crmService.Credentials = System.Net.CredentialCache.DefaultCredentials;

try {

WindowsApplication1.crmService.Key objKey = new
WindowsApplication1.crmService.Key();
objKey.Value = new Guid("4092e0f3-8f58-da11-a1b7-0003ff005ea2");

oContact.contactid = objKey;
oContact.address1_line1 = "34 Market St. test for update profile";

_crmService.Update(oContact);
}catch(SoapException ex ) {
MessageBox.Show(ex.Detail.ToString());
}

-------------------------------------------------------------------------------------------------

Please help me