How to handle sharepoint web services exceptions

Posted by Royson on Stack Overflow See other posts from Stack Overflow or by Royson
Published on 2010-05-04T09:55:27Z Indexed on 2010/05/04 11:08 UTC
Read the original article Hit count: 258

Hi,

I have developed an application of share point. I am using web services for that.

the problem is that while working with my app sometimes i get some exceptions. like,

Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

Stack Strace :: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at ......... my methods

From this exception i cannot understand the main problem. While developing i can debug the code, but now my application is getting launched..i can get error log file from my client which contains this type of excetions.

But how to catch exact error.???

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms