• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

Problem Printing / Exporting Crystal Report

I am having trouble with some Crystal Reports that I am trying develop using .NET 2 in a web application utilizing MS SQL  Express 2005 (Windows Server 2003)
I am using Crystal reports that comes bundled with Visual Studio 2005. I use the "push" method where a dataset is defined. All my reports get displayed OK but some of them crash when I click "Print" or "Export" with the error below. Some get printed / exported OK.
--><--
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.
--><--
I started removing report fields one after the other in order to find out which one is causing the "incorrect format" error until I removed all the fields and the report became blank and it still crashes with the same error.  I found a solution on EE that advises t changing xs:decimal to sx:double in the dataset but that did not solve the problem.
I am new to .NET and web development. Any suggestions would be most appreciated

0
DbLanMan
Asked:
DbLanMan
  • 2
1 Solution
 
DbLanManAuthor Commented:
mlmcc, you are a true Genius. You saved my day!!
Thanks
DbLanMan
0
 
DbLanManAuthor Commented:
Thank you very much mlmcc. You saved me a lot of time and confusion.
Thanks again!!!!!!!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now