Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 19th, 2005, 03:24 AM
Authorized User
 
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Report you requested requires further information

I have an application built using visual studio 2005. there are crystal reports in this application. I installed .NET framework 2, MDAC 2.8 and CRRedist.msi on the app server.When i open a page with a crystal report i am getting the error:

"The report you requested requires further information"
DSN Name

SeverName: myserver
DatabaseName: mydatabase
UserName:
Password:

Use Integrated Security

I have set up the DSNs to point to the machine where the database is.

I am nearly there I think but I cant figure out how to get rid of this error. Would really apprecaite any suggestions that you might have on this.

Thanks and Regards,
Cathie



 
Old December 19th, 2005, 03:27 PM
rp rp is offline
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need the folowing on your .vb page

Imports CrystalDecisions.CrystalReports.Engine

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim report As New ReportDocument
        report.Load(Server.MapPath("the name of the report.rpt"))
        report.SetDatabaseLogon("some username", "some password")
        Me.CrystalReportViewer1.ReportSource = report
    End Sub
End Class

more info at the following link
http://ms-help://MS.VSCC.v80/MS.MSDN...bjectmodel.htm

 
Old November 6th, 2007, 11:29 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 121
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Cathie,

I understand you had this problem long time ago, but I have it now.
I've created the application in VS.NET 2003 and reports in Crystal XI. The database is located on the separate server and all reports are using ODBC connection. The application used to work fine on the old Windows 2000 Server and work fine on my developer PC which has Windows XP Pro. But after they have changed the application server to a new one I am having the error you had.

Any help will be helpful.
Thanks in advance,
Dmitriy
 
Old August 18th, 2008, 07:38 AM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello world!

 
Old August 18th, 2008, 07:48 AM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Instead of passing a dataset object in SetDataSource(...), you have to pass an actual table in it that contains the data.see the code below:

customerReport.SetDataSource(ds.Table[0]);
CrystalReportViewer1.Visible = true;
CrystalReportViewer1.ReportSource = customerReport;
CrystalReportViewer1.DataBind();

Hope this will work!
 
Old August 6th, 2009, 02:32 AM
Registered User
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy At page reload..Prev error messg...

Quote:
Originally Posted by sraheelhere View Post
Instead of passing a dataset object in SetDataSource(...), you have to pass an actual table in it that contains the data.see the code below:

customerReport.SetDataSource(ds.Table[0]);
CrystalReportViewer1.Visible = true;
CrystalReportViewer1.ReportSource = customerReport;
CrystalReportViewer1.DataBind();

Hope this will work!
Thanks a lot sraheel...Its working for 1st time... but if click agian its showing prev error messg...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Process must exit before requested information Abhinavnaresh ASP.NET 2.0 Professional 0 April 9th, 2008 08:49 AM
The report you requested requires further informat ganiyadav Crystal Reports 0 July 31st, 2007 04:01 AM
The report you requested requires further informat BreathShadow ASP.NET 2.0 Basics 0 April 13th, 2007 01:56 PM
SQL help requested mvoosten MySQL 4 March 18th, 2007 03:38 AM
headings requires while exporting crystal report suni_kutty Crystal Reports 0 November 26th, 2004 06:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.