How to use crystal Reports with ASP.Net 2.0. Any Samples/Tutorials/Examples which shows how to deploy Crystal Reports on a production Server.
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
Thats what I use usually,Asp.net/C#
and on Aspx side:
This is the code I generally use:
Having just been through the pain of this myself, here's a couple of pointers that will hopefully save you time...
Crystal Reports on MSDN - lots of good stuff in here
Which Persistence Approach Should I Use with Crystal Reports - gives detail and code samples on how best to control the lifesycle of a report object
This post also gives some good advice around the report object lifecycle
Deployment... The latest Crystal Reports runtimes don't run in a 64 bit environment, so if deploying to a 64 bit server you will either have to configure IIS to run an 32 bit mode, or use a previous version of the runtime. I have had the most luck with the runtime that is distributed with VS2008, this can be found in
I note you are using ASP.NET 2.0 - i'm sure there is a VS2005 equivalent runtime. Try and get the deployment environment working early on in the project, as it will no doubt cause more headaches than you expect.
Finally, one last point that has cost us some time and is worth mentioning - the standard parameters screen in Crystal Reports will only take you so far. If you want to get complex with how you present your parameters to the user (e.g. by having a parameters dependent on the selection of another parameter) you will need to roll your own parameter screens. This is fairly easy as the object model gives you access to all the info you will need about parameters. We have gone down the route of creating a generic parameters screen that builds itself according to the parameters found in the report it is pointed at.