你好,这是由于你自己新定义了一个报表服务,然后这个服务有问题导致的,你看看你新建的服务调试代码是否可以进去。如果进去不了,你就检查服务的写法和配置路由:- public class WebService1 : GrapeCity.ActiveReports.Web.ReportService
- {
- PageDocument _pageDocument;
- PageReport definition;
- [WebMethod]
- protected override object OnCreateReportHandler(string reportName)
- {
- definition = (PageReport)base.OnCreateReportHandler(reportName);
- _pageDocument = new PageDocument(definition);
- definition.Document.LocateDataSource += new LocateDataSourceEventHandler(DataSource1);
- return definition;
- }
- }
复制代码
|