Private rpt As ReportDocument
Protected Sub Page_Load(sender As Object, e As EventArgs)
rptCrystal.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None
rpt = New ReportDocument()
rpt.Load(Server.MapPath("report.rpt"))
rpt.SetParameterValue("sParameters", "Value")
Me.rptCrystal.ReportSource = rpt
End Sub
Protected Overrides Sub OnUnload(e As EventArgs)
MyBase.OnUnload(e)
rpt.Close()
rpt.Dispose()
GC.Collect()
End Sub
Licensing Summary
For the most part Crystal Reports for Visual Studio 2010 has the same licensing model as Crystal Reports Basic for Visual Studio 2008.
Internal and external client application redistribution is free.
Internal redistribution of server applications is free.
License Change
The only change with this transition relates to external distribution of server applications.
A server application is any application (WPF, Webform, Winform) where the runtime engine is integrated in a way that allows more than one user to access the rutnime.
Distributing server applications now requires additional licensing. The Crystal Reports Developer Advantage license provides the additional licensing required.
All other scenarios continue to be free for Crystal Reports for Visual Studio 2010.
For More Information
Licensing for almost all Crystal Reports scenarios, including commercial hosting scenarios is covered in this whitepaper. This provides easy-to-read, summary information of whats in the various product End User License Agreements (EULAs).
Before Posting A Comment
Please read the whitepaper before posting a comment. I will not be replying to comments that are answered in the whitepaper.
Reporting for server applications:
A server application allows more than one user to access the reporting engine either directly or indirectly through any middle-tier application. You are free to embed the runtime engine with server applications that are deployed internally, and use it in connection with the licensee's business, at no additional charge.
Server-based applications that are redistributed require additional licensing as defined through our redistribution model. Under this model, if you wish to redistribute a server-based application that embeds the runtime engine to third parties, you will need to purchase a licensed copy of SAP Crystal Reports each time your application is deployed.