I am getting the following error when trying to close (as completed) tasks:
Server was unable to process request.
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.Web.Services.Protocols.SoapException: Server was
unable to process request.
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:
[SoapException: Server was unable to process request.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
+1496
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) +218
Microsoft.Crm.Platform.Proxy.TaskWebService.Retrieve(Guid id,
ColumnSetBase columnSet) +100
Microsoft.Crm.Application.SMWrappers.Task.OMRetrieve(Guid id, ColumnSet
columnSet) +55
Microsoft.Crm.Application.SMWrappers.ObjectBase.OMRetrieve(Guid id) +34
Microsoft.Crm.Application.SMWrappers.ObjectBase.InternalRetrieve(String
id, String columnSet) +72
Microsoft.Crm.Application.Platform.ActivityBase.InternalRetrieve(String
id, String columnSet) +25
Microsoft.Crm.Application.Platform.Entity.Retrieve(String columnSet) +125
Microsoft.Crm.Application.Platform.Entity.Retrieve() +23
Microsoft.Crm.Web.Activities.BasicActivityPage.SaveAsCompleted(Object
sender, DataEventArgs e) +134
Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId
eventId, FormState state, User user, String objectId, Entity entity) +176
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId
eventId) +89
Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +57
Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity,
String formId, String formType) +83
Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity)
+13
Microsoft.Crm.Web.Activities.BasicActivityPage.ConfigureForm() +198
Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Page.ProcessRequestMain() +1499
Other activities seem to close fine, but tasks aren't. The odd thing is
that the tasks end up completed. Any ideas?
Thank you very much!
Jon
Something like this:
try
{
// call crmservice
}catch(SoapException ex)
{
string error = ex.Detail.InnerXml;
}
HTH,
--
Jeffry van de Vuurst
CWR Mobility
www.cwrmobility.com
--
"Jon Poploskie" <jpopl...@nospam.nospam> wrote in message
news:eFuze4IR...@TK2MSFTNGP11.phx.gbl...
Thanks
Jon
"Jeffry van de Vuurst" <re...@to.newsgroup> wrote in message
news:%23bFs1GJ...@TK2MSFTNGP10.phx.gbl...
Look here on how to enable tracing and there's also a traceviewer tool you
can download.
http://www.stunnware.com/crm/Getting%20detailed%20error%20information.htm
HTH,
--
Jeffry van de Vuurst
CWR Mobility
www.cwrmobility.com
--
"Jon Poploskie" <jpopl...@nospam.nospam> wrote in message
news:%23SRizKJ...@TK2MSFTNGP11.phx.gbl...