Alok Sinha

Alok Sinha

  • NA
  • 2
  • 5.7k

Errors when Report is generated in C# with setup file

Aug 5 2010 7:55 AM
I have created a software using C# 2003 and SQL Server 2000 with crystal Report.
Software is working fine in IDE [Development mode]. 
But when a setup file is created and executed on the same machine, it works fine except generating report. At the end of the program when report is generated, it displays the following error messages

An unhandled exception has occurred in your application. if you click continue, the application will ignore the error and attempt to continue. If you click quit, the application will be shut down immediately.

Length cannot be less than zero. Parameter name: length.

In Details its showing:
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length

Answers (2)