Click here to Skip to main content
16,007,472 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSave As? Pin
Samsung27-Oct-05 8:29
Samsung27-Oct-05 8:29 
AnswerRe: Save As? Pin
Turtle Hand27-Oct-05 10:42
Turtle Hand27-Oct-05 10:42 
GeneralRe: Save As? Pin
enjoycrack28-Oct-05 7:57
enjoycrack28-Oct-05 7:57 
GeneralRe: Save As? Pin
Ghasrfakhri1-Nov-05 2:57
Ghasrfakhri1-Nov-05 2:57 
QuestionFCK Editor Pin
Brendan Vogt27-Oct-05 2:56
Brendan Vogt27-Oct-05 2:56 
AnswerRe: FCK Editor Pin
Jack Ma Shanghai27-Oct-05 18:14
Jack Ma Shanghai27-Oct-05 18:14 
AnswerRe: FCK Editor Pin
Edbert P27-Oct-05 21:04
Edbert P27-Oct-05 21:04 
QuestionProblem integrating Crystal Report with Asp.net Pin
beechan26-Oct-05 23:59
beechan26-Oct-05 23:59 
Hi,
I am having this weird problem which i cannot locate the cause of it.

When i did not pass in parameters, the following error is being generated.

------------------------------------------------------------------------------------------------------------------------------------------


Missing parameter field current value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: Missing parameter field current value.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ParameterFieldCurrentValueException: Missing parameter field current value.]
.F(String  , EngineExceptionErrorID 
) +574
CrystalDecisions.CrystalReports.Engine.FormatEngine.internalSetReportInfo(RequestContext reqContext) +1293
CrystalDecisions.CrystalReports.Engine.FormatEngine.internalGetViewContext(ReportPageRequestContext reqContext, * viewContext) +217
CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext) +280
CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext) +189
CrystalDecisions.Web.ReportAgent.u(Boolean N) +164
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +108
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

------------------------------------------------------------------------------------------------------------------------------------------


When i do pass in parameters, the follow error is being generated.

------------------------------------------------------------------------------------------------------------------------------------------


Exception of type System.Exception was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Exception of type System.Exception was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[Exception: Exception of type System.Exception was thrown.]
CrystalDecisions.Web.ReportAgent.u(Boolean N) +358
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +108
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1499




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

My codes are very simple. For first case is (no parameters),


crv.ReportSource=new report1();


For the second case is (with parameters),


ParameterFields paramFields = new ParameterFields ();
ParameterField paramField = new ParameterField ();
ParameterDiscreteValue discreteVal = new ParameterDiscreteValue ();
ParameterRangeValue rangeVal = new ParameterRangeValue ();
paramField.ParameterFieldName = "countryString";

discreteVal.Value = "india";
paramField.CurrentValues.Add (discreteVal);

discreteVal = new ParameterDiscreteValue ();
discreteVal.Value = "japan";

paramField.CurrentValues.Add (discreteVal);

paramFields.Add (paramField);
crv.ParameterFieldInfo = paramFields;

crv.ReportSource=new report1();
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

i had tried setting reportsource before i assign my parameters but the Exception type of Exception is still being thrown. I had looked around but could not find the answer.

Thanks for the help

Questionsubmitting articles Pin
Mugombi26-Oct-05 20:30
Mugombi26-Oct-05 20:30 
AnswerRe: submitting articles Pin
enjoycrack27-Oct-05 6:37
enjoycrack27-Oct-05 6:37 
Questionweb design Pin
momoo26-Oct-05 19:44
momoo26-Oct-05 19:44 
AnswerRe: web design Pin
enjoycrack27-Oct-05 6:35
enjoycrack27-Oct-05 6:35 
Questionuploading file using asp Pin
idreesbadshah26-Oct-05 19:36
idreesbadshah26-Oct-05 19:36 
AnswerRe: uploading file using asp Pin
enjoycrack27-Oct-05 6:33
enjoycrack27-Oct-05 6:33 
AnswerRe: uploading file using asp Pin
Vasudevan Deepak Kumar30-Oct-05 18:32
Vasudevan Deepak Kumar30-Oct-05 18:32 
GeneralRe: uploading file using asp Pin
Anil J Baviskar24-Nov-05 23:37
Anil J Baviskar24-Nov-05 23:37 
Questioncan't open excel from network drive using asp Pin
Anonymous26-Oct-05 14:36
Anonymous26-Oct-05 14:36 
QuestionWildcard SSL Certificate Pin
dwatkins@dirq.net26-Oct-05 10:25
dwatkins@dirq.net26-Oct-05 10:25 
QuestionWhat's wrong with my RSS feed? Pin
Larsenal26-Oct-05 6:19
Larsenal26-Oct-05 6:19 
AnswerRe: What's wrong with my RSS feed? Pin
Taka Muraoka26-Oct-05 8:12
Taka Muraoka26-Oct-05 8:12 
QuestionBrowser Control Pin
JayaDurai26-Oct-05 1:44
JayaDurai26-Oct-05 1:44 
AnswerRe: Browser Control Pin
enjoycrack26-Oct-05 8:32
enjoycrack26-Oct-05 8:32 
QuestionRe: Browser Control Pin
JayaDurai27-Oct-05 21:26
JayaDurai27-Oct-05 21:26 
AnswerRe: Browser Control Pin
enjoycrack28-Oct-05 15:45
enjoycrack28-Oct-05 15:45 
QuestionRe: Browser Control Pin
JayaDurai6-Nov-05 22:26
JayaDurai6-Nov-05 22:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.