Solved

The report you requested requires further information.

Posted on 2009-07-10
3
1,238 Views
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
 
            dte1Field.CurrentValues.Add(dte1Value)
            dte2field.CurrentValues.Add(dte2value)
 
            params.Add(dte1Field)
            params.Add(dte2field)
            '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
            'locField.CurrentValues.Add(locValue)
            'params.Add(locField)
 
            Dim myreport As New ReportDocument
            myreport.Load(Server.MapPath("Reports\Type-10.rpt"))
            myreport.SetDatabaseLogon("XXXXX", "XXXXXX")
            CrystalReportViewer1.ParameterFieldInfo = params
            CrystalReportViewer1.ReportSource = myreport
            Session("StoreReport") = myreport

Open in new window

0
Comment
Question by:kurtrossr
[X]
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
3 Comments
 
LVL 7

Expert Comment

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

Author Comment

by:kurtrossr
ID: 24824887
yes. and tested successfully
.
0
 
LVL 101

Accepted Solution

by:
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.

mlmcc
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
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 …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

718 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