This page I use crystal report to generate a report, but if 10 user or more request this page at the same time, some of the user will get a runtime error.
But if normal use, everything is all right.
Sample code:
report.Load(Request.PhysicalApplicationPath + "reports\\test.rpt");
report.FileName = Request.PhysicalApplicationPath + "reports\\test.rpt";
report.DataSourceConnections[0].SetConnection(Properties.Settings.Default.ReportServer, Properties.Settings.Default.ReportDatabase, Properties.Settings.Default.ReportUsername, Properties.Settings.Default.ReportPassword);
report.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "Countries");
You’re probably hosting the report on a consumer-level edition of Windows, such as XP or Vista.
Consumer-level Windows editions will not accept more than ten concurrent inbound connections.
You need to use Windows Server.