Geeks With Blogs

@azamsharp
  • azamsharp @GardenVeggies Hey Kenny, Did you get a chance of trying out Vegetable Tree iPhone app? about 5 hours ago
  • azamsharp @soffes These people are called "Open Source Hyenas" about 1 day ago
  • azamsharp @soffes Happened to me twice in 12 months. Usually it will take 7-10 days for that app to go down. about 1 day ago
  • azamsharp @mkoby I will :) Just for the sake of the experience :) about 2 days ago
  • azamsharp @mkoby I will definitely create an Android version and compare the sales. In-App purchase might be the only way on Android to make sales. about 2 days ago
  • azamsharp @mkoby Not sure about that! Although I have heard horror stories of people releasing a hit iOS app on Android and having no sales. about 2 days ago
  • azamsharp @mkoby Vegetable Tree for Android will be based on in-app purchase. Now, I just need to build that app. about 2 days ago
  • azamsharp @mkoby But that is a good sign that at least in app purchasing is improving for Android! about 2 days ago
  • azamsharp @mkoby Thanks! Unfortunately, not all apps are designed to have in app purchase. I also heard people misusing in app purchasing. about 2 days ago
  • azamsharp @iphreaks I may be able to talk about how I got started in 2010 and my exp on App Store. Lessons learned from App Store! Thanks! about 2 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)

{

base.OnUnload(e);

// close the report connection

this.Unload += new EventHandler(Report_Default_Unload);

}

void Report_Default_Unload(object sender, EventArgs e)

{

// close the report connection

report.Close();

report.Dispose();

}

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: GeeksWithBlogs.net | Join free