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
I used the .Net Stacktrace class like this:
System.Diagnostics.StackTrace stacktrace =
new
System.Diagnostics.StackTrace(
1
,
true
);
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);
}
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 errors: The thread 0x13d8 has exited with code 0 (0x0). A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll A first chance exception of type 'System.Threading.ThreadAbortException' occurred in App_Web_malfrgkq.dll An exception of type 'System.Threading.ThreadAbortException' occurred in App_Web_malfrgkq.dll but was not handled in user code
I still can't make heads or tails from this. Any help would be very much appreciated.
Thanx in advance...
Thanx
MikeFIF
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad
spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or
edit the question
and fix the problem. Insults are not welcome.
Don't tell someone to read the manual. Chances are they have and don't get it.
Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Thanx for your respons. 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 errors:
The thread 0x13d8 has exited with code 0 (0x0).
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in App_Web_malfrgkq.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in App_Web_malfrgkq.dll but was not handled in user code
I still can't make heads or tails from this. Any help would be very much appreciated.
Thanx in advance
MikeFIF