Geeks With Blogs

  • azamsharp The WWDC app says that there are new videos but there is nothing under videos!!! about 676 days ago
  • azamsharp Can I post my opinion on iOS 7 Beta or is it under NDA or something? about 676 days ago
  • azamsharp iOS 7 BETA installed successfully! about 676 days ago
  • azamsharp iOS 7 BETA installed! Now restoring! I am on NET10 which uses AT&T network. Hopefully 3G will still work! Lets c.. about 676 days ago
  • azamsharp The missing of button borders in Xcode 5 makes it hard to determine the clickable area. about 676 days ago
  • azamsharp I might wait for iOS to be released before I can put it on my device! Don't want a bricked or unstable device! about 676 days ago
  • azamsharp Android has many features that no one uses, number of versions that no one upgrades to and thousands of apps that no one pays for. about 676 days ago
  • azamsharp Maybe it is just me but the new iOS 7 UI looks like Windows Phone 8 UI! #maybeIamCrazy about 676 days ago
  • azamsharp Anyone using H20 network upgraded to iOS 7 BETA Keep me updated if you face any problems. about 676 days ago
  • azamsharp @merowing_ You already downloaded it! I cannot even load the developer's website! :( about 677 days ago

AzamSharp Some day I will know everything. I hope that day never comes.

When creating lots of crystal reports you might get the error that "Maximum Reports have been generated and please contact the administrator". This is because of the registry settings for the Crystal Reports. I think the default maximum number of reports is between 70-80. Although you can change this by editing the registry but better technique is to close the and dispose the report when you are done with it.

You can close the report in the Page_Unload event of the page life cycle.

protected override void OnUnload(EventArgs e)



// close the report connection

this.Unload += new EventHandler(Report_Default_Unload);


void Report_Default_Unload(object sender, EventArgs e)


// close the report connection




The above code will ensure that the report object is closed and disposed and hence frees the memory.

Posted on Friday, September 15, 2006 1:54 PM | Back to top

Comments on this post: Maximum Reports have been generated error!

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Mohammad Azam | Powered by: | Join free