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
Sam HobbsPosted Aug 5, 2010, 12:14 PM
pindiprolu venkata ramaraoPosted Aug 5, 2010, 8:59 AM
As of my understanding you may not passing the value to the parameter Length. Please verify for while. If your problem is not resolved please send me your code for a while i will try my level best to resolve this problem.