Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET report viewing error

Status
Not open for further replies.

cogentdev

Programmer
Jul 15, 2004
5
CA
Hi am using the report viewer in asp.net to view crystal reports. In my dev enviroment everything is working fine, when I change to a differnet DB server all the reports with parameters fail with the following error

Error in File c:....Reports\ChartReportClientDoctor.rpt: Error in formula <Record_Selection>. '{spCRClientData1;1.admissionDate} = {?admitDate}' This field name is not known.

If I point this server at the dev DB it works fine, but it doesn't work on the production DB at all. I am using SQL server. The reports that do not us a parameter work fine.
 
Do you get any errors if you point the report to the production server at design time?

-dave
 
if I point my dev machine at the production db I get the same error
 
Check the output of the stored procedure on the production server, and compare it to the one on the development server. Good chance that the fields returned aren't the same, namely the admissionDate field.

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top