views:

17

answers:

0

I have a cystal report, which prompts for parameter value to be entered. When I enter the value and hit okay, an exception is generated. The call stack of the exception :-

at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()

at CrystalDecisions.Windows.Forms.ParameterValueEditControl.Start()

at CrystalDecisions.Windows.Forms.ParameterUnit.AddEditControl(ParameterValue pv)

at CrystalDecisions.Windows.Forms.ParameterUnit.UpdateControls()

at CrystalDecisions.Windows.Forms.ParameterUnit.set_ParameterFieldInfo(ParameterFieldInfo value)

at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowParameters()

at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowInteractiveParameters()

at CrystalDecisions.Windows.Forms.CrystalReportViewer.ShowReport()

at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnPaint(PaintEventArgs evtArgs)

at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.ContainerControl.WndProc(Message& m)

at System.Windows.Forms.UserControl.WndProc(Message& m)

at CrystalDecisions.Windows.Forms.CrystalReportViewer.WndProc(Message& msg)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Can you please help me with this. Its strange that I do not have similar issue with other reports which prompt for parameter , However in this case the issue lies with show dialog box button in the parameter panel menu which throws an exception if the user clicks the show advanced dialog box button)