Hello,
I have set up a client-server environment.
In the server I installed Crystal Server 2013 SP7 OEM Edition (the one that only has the RAS).
The client has a website where a ASPX form is trying to connect to the Crystal server to display a report.
In the client I installed the Business Objects BI Platform .NET SDK Redistributable 32 bit 4.1 SP7.
Whenever I try to display the form, however, I keep getting the following error:
[COMException (0x80004005): The system cannot find the path specified.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
The error is displayed in the last line of the following code block:
currentReport = new ReportClientDocument();
if (gReportAppServer != "")
currentReport.ReportAppServer = gReportAppServer;
Object filepath = "rassdk://" + Server.MapPath(WRM.GetResourcePath(WebResourceTypes.CrystalReport, rptFile + ".rpt"));
currentReport.Open(ref filepath, 1);
The filepath value is correctly pointing to the location where the RPT file is located:
rassdk://C:\\inetpub\\wwwroot\\site_name\\rpt\\Expense.rpt
Could this be an installation issue? or why is the code not working?
The code is the same that I used in a previous version of Crystal Server (2008 embedded) so I know it works (or at least it worked in that particular version).
The only difference in the code is that I changed the assembly references from the 12.0.1100.0 version to 14.0.3500.0.
Thanks in advance,
Hector