0
Reply

SoapException:General error

Mike Fif

Mike Fif

Dec 27 2013 10:22 AM
905
Hi,

I am having some trouble with my client and don't know what the cause is. When trying to connect to a webservice I get the following errormessage:

System.Web.Services.Protocols.SoapException: General error 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 Bericht.AanleverService_V1_2Wse.aanleveren(aanleverRequest aanleverRequest) in c:\Users\Innovations\AppData\Local\Temp\Temporary ASP.NET Files\beta_boekhouden\36234ce6\d7a69428\App_WebReferences.w81a9dm4.0.cs:regel 51 at Default.Button2_Click(Object sender, EventArgs e) in c:\.........\.........\............\Verzend_OB.aspx.cs:Line1839

The OutputTrace file looks normal to me and I looked for similar errors on the internet but couldn't find any.

 I used the .Net Stacktrace class like this:
System.Diagnostics.StackTrace stacktrace = new System.Diagnostics.StackTrace(1, true);// true means get line numbers. System.Diagnostics.StackFrame[] frames = stacktrace.GetFrames(); string stackName = string.Empty; foreach (System.Diagnostics.StackFrame sf in frames) { System.Reflection.MethodBase method = sf.GetMethod(); stackName += ("***" + method.Name + "|" + method.DeclaringType); }//end_foreach Label2.Text += stackName;and got the following output:
***OnClick|System.Web.UI.WebControls.Button
***RaisePostBackEvent|System.Web.UI.WebControls.Button
***System.Web.UI.IPostBackEventHandler.RaisePostBackEvent|System.Web.UI.WebControls.Button
***RaisePostBackEvent|System.Web.UI.Page
***RaisePostBackEvent|System.Web.UI.Page
***ProcessRequestMain|System.Web.UI.Page
***ProcessRequest|System.Web.UI.Page
***ProcessRequest|System.Web.UI.Page
***ProcessRequestWithNoAssert|System.Web.UI.Page
***ProcessRequest|System.Web.UI.Page
***ProcessRequest|ASP.fiscaal_taki_verzend_ob_aspx
***System.Web.HttpApplication.IExecutionStep.Execute|System.Web.HttpApplication+CallHandlerExecutionStep
***ExecuteStep|System.Web.HttpApplication
***ResumeSteps|System.Web.HttpApplication+ApplicationStepManager
***System.Web.IHttpAsyncHandler.BeginProcessRequest|System.Web.HttpApplication
***ProcessRequestInternal|System.Web.HttpRuntime
***ProcessRequestNoDemand|System.Web.HttpRuntime
***ProcessRequest|System.Web.HttpRuntime
***Process|Microsoft.VisualStudio.WebHost.Request
***ProcessRequest|Microsoft.VisualStudio.WebHost.Host
 
In the VS debugmode I got the following message:
The thread 0x13d8 has exited with code 0 (0x0).A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dllA first chance exception of type 'System.Threading.ThreadAbortException' occurred in App_Web_malfrgkq.dllAn exception of type 'System.Threading.ThreadAbortException' occurred in App_Web_malfrgkq.dll but was not handled in user codeI still can't make heads or tails from this. Any help would be very much appreciated.
Thanx in advance...
MikeFIF