Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can't close (complete) tasks

0 views
Skip to first unread message

Jon Poploskie

unread,
Mar 10, 2006, 5:00:23 PM3/10/06
to
Hello,

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


Jeffry van de Vuurst

unread,
Mar 10, 2006, 5:25:57 PM3/10/06
to
You need to wrap your code in a try/catch block and catch the SoapException.
Then look at the Detail.InnerXml property and you see the actual error
message. That should give some more information.

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...

Jon Poploskie

unread,
Mar 10, 2006, 5:33:08 PM3/10/06
to
Is there any way to do this with the default (box, unmodified) code? I
haven't modified anything or done any callouts, etc. This is just what's
happening when I click on the 'Save as Completed' button for a plain 'ol
task...

Thanks
Jon

"Jeffry van de Vuurst" <re...@to.newsgroup> wrote in message
news:%23bFs1GJ...@TK2MSFTNGP10.phx.gbl...

Jeffry van de Vuurst

unread,
Mar 11, 2006, 3:06:54 AM3/11/06
to
Oh, I thought it was custom code you wrote that gave the exception. If it's
standard crm that gives the exception you could enable tracing.

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...

0 new messages