CRM Throws SOAP Exceptions from the Web Service. That's why you need to use the following to get to the actual error...
VB
Try
.....
Catch ex As System.Web.Services.Protocols.SoapException
MsgBox(ex.Message & " : " & ex.Detail.InnerText)
Catch ex As Exception
...More exception handling logic...
End Try
C#
try
{
...
}
catch(System.Web.Services.Protocols.SoapException)
{
//Exception handling
throw;
}
catch(Exception)
{
//Exception handling
throw;
}
See http://msdn.microsoft.com/en-us/library/aa681719.aspx
for MSDN's official documentation on CRM 3.0
1 comment:
Entity name and columnset names are case sentitive. Please check
Post a Comment