how to release the fast-report on IIS7

FastReport.Web.WebReport WebReport1 = new FastReport.Web.WebReport();
string mysql = "User Id=jy;port=4307;server=192.168.3.12;database=jywms_tp;password=jiayi56";
WebReport1.Report.Load("D:\\a.frx");
DataSet s=new DataSet();
;
DataTable tck = new DataTable();
DataTable tckmx = new DataTable();
ClsRWMySQLDb.FillTable(tck,"select * from tck", mysql);
ClsRWMySQLDb.FillTable(tckmx, "select * from tckmx", mysql);
s.Tables.Add(tck);
s.Tables.Add(tckmx);
WebReport1.Report.RegisterData(tck,"tck");
WebReport1.Report.RegisterData(tckmx, "tckmx");
//Thread s1 = new Thread(new ThreadStart(WebReport1.Report.Show));
//s1.SetApartmentState(ApartmentState.STA);
//s1.Start();
WebReport1.Report.Show();
Before release, operation problems.
atfer released, when the code runing that the event showing is no respose and not error.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.