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
Solved

Problem Printing / Exporting Crystal Report

Posted on 2008-10-15
3
337 Views
Last Modified: 2012-06-21
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
Comment
Question by:DbLanMan
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 22723596
0
 

Author Comment

by:DbLanMan
ID: 22724160
mlmcc, you are a true Genius. You saved my day!!
Thanks
DbLanMan
0
 

Author Closing Comment

by:DbLanMan
ID: 31506385
Thank you very much mlmcc. You saved me a lot of time and confusion.
Thanks again!!!!!!!
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports Swap Columns 2 66
Team Foundation Server 8 76
SequenceEqual in C# List 2 108
Crystal Reports Date Calculation 10 41
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 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