The report you requested requires further information.

Posted on 2009-07-10
Medium Priority
Last Modified: 2012-06-27
I have a crystal report in a vb.net 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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

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

Author Comment

ID: 24824887
yes. and tested successfully
LVL 101

Accepted Solution

mlmcc earned 2000 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

CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

770 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