The report you requested requires further information.

Posted on 2009-07-10
Last Modified: 2012-06-27
I have a crystal report in a page using the crystal viewer.
this is the code.
it works fine on my local machine
I have the odbc source set on my machine DSN and the IIS server as well

but when I move it up to the server it gives me
The report you requested requires further information.
     and asks me for the password....
any help would be appreciated Thanks

Dim params As New ParameterFields ' tHis requires only one object
            Dim dte1Field As New ParameterField ' ParameterField for 1st param
            Dim dte2field As New ParameterField ' param for second param\
            Dim dte1Value As New ParameterDiscreteValue 'ParameterDiscreteValue for 1st param
            Dim dte2value As New ParameterDiscreteValue
            dte1Value.Value = Request.QueryString("dte1")
            dte2value.Value = Request.QueryString("dte2")
            dte1Field.Name = "@dte1"
            dte2field.Name = "@dte2"
            dte1Field.ParameterValueType = ParameterValueKind.DateParameter
            dte2field.ParameterValueType = ParameterValueKind.DateParameter
            'Dim params As New ParameterFields ' tHis requires only one object
            'Dim locField As New ParameterField ' ParameterField for 1st param
            'Dim locValue As New ParameterDiscreteValue 'ParameterDiscreteValue for 1st param
            'locValue.Value = Request.QueryString("Loc").ToString()
            'locField.Name = "@Loc"
            'locField.ParameterValueType = ParameterValueKind.StringParameter
            Dim myreport As New ReportDocument
            myreport.SetDatabaseLogon("XXXXX", "XXXXXX")
            CrystalReportViewer1.ParameterFieldInfo = params
            CrystalReportViewer1.ReportSource = myreport
            Session("StoreReport") = myreport

Open in new window

Question by:kurtrossr

Expert Comment

ID: 24824620
Is the odbc datasource also set up on the server?

Author Comment

ID: 24824887
yes. and tested successfully
LVL 100

Accepted Solution

mlmcc earned 500 total points
ID: 24828967
You need to change the database location in the application since you are changing the connection.

I'll try to find an example.


Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question