Troubleshooting
Problem
Soap Exception in ReportParameters SDK sample - CM-REQ-4342 error when attempting to run the Csharp sample located in
Symptom
In Microsoft Visual Studio 2005 - Framework 2.0 the error is :
System.Web.Services.Protocols.SoapException was unhandled
Message="CM-REQ-4342 An error occurred with the client."
Source="System.Web.Services"
Actor=""
Lang=""
Node=""
Role=""
StackTrace:
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 cognosdotnet_2_0.reportService1.getParameters(searchPathSingleObject objectPath, parameterValue[] parameterValues, option[] options)
at ReportParameters.ReportParameters.getReportParameters(String reportPath, reportService1 c8RS) in
D:\C83INR\sdk\csharp\ReportParameters\ReportParameters.cs:line 53
at ReportParameters.ReportParameters.Actions_Click(Object sender, EventArgs e) in D:\C83INR\sdk\csharp\ReportParameters\ReportParameters.cs:line 342
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at ReportParameters.ReportParameters.Main(String[] args) in D:\C83INR\sdk\csharp\ReportParameters\ReportParameters.cs:line 202
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at
System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
In SharpDevelop the message is as follows :
Exception System.Web.Services.Protocols.SoapException was thrown in debuggee:
CM-REQ-4342 An error occurred with the client.
ReadResponse()
Exception in SharpDevelop 2.02
Invoke()
getParameters()
getReportParameters() - D:\C83INR\sdk\csharp\ReportParameters\ReportParameters.cs:53,4
Actions_Click() - D:\C83INR\sdk\csharp\ReportParameters\ReportParameters.cs:342,6
OnClick()
OnClick()
OnMouseUp()
WmMouseUp()
WndProc()
WndProc()
WndProc()
OnMessage()
WndProc()
DebuggableCallback()
System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop()
RunMessageLoopInner()
RunMessageLoop()
Run()
Main() -
D:\C83INR\sdk\csharp\ReportParameters\ReportParameters.cs:202,5
Log InLog in to view more of this document
Historical Number
1041193
Was this topic helpful?
Document Information
Modified date:
08 May 2025
UID
swg21343286