Crystal Report问题部署后

时间:2017-03-22 08:24:17

标签: c# asp.net-mvc crystal-reports

特别是水晶报告错误:

Failed to open the connection.
Details:  [Database Vendor Code: 17 ]Failed to open the connection.
ReportToday 4504_4604_{2CD4AF70-4D4E-4C5C-90F8-B60287F9454B}.rpt
Details:  [Database Vendor Code: 17 ]

在我们的网络应用中,我们有8个报告在localhost中顺利运行。在Web中部署后,一半的报告无法显示上述错误。任何人都知道如何解决这个问题?

报告控制器

ReportDocument rd = new ReportDocument();
rd.Load(Path.Combine(Server.MapPath("~/Views/Reports/SalesMonthlyReport.rpt")));
rd.SetDatabaseLogon("sa", "pass");

0 个答案:

没有答案
相关问题