CrystalReport "Access Denied" error

xiaoxiao2021-03-06  55

Original: http://www.cnblogs.com/minBear/Archive/2004/08/13/33124.aspx

CrystalReport "Access Denied" error

Today, when using .NET to develop CrystalReport, I encountered an "access denied" error, the page code is as follows:

ReportClientDocument RCD

=

New

ReportClientDocumentClassClass (); RCD.ReportAppServer

=

"

GRD-DAVI-XIiong

"

;

Object

SfilePath

=

@ "

E: /aaa.rpt

"

Rcd.open

Ref

SfilePath,

0

CrystalReportViewer1.Reportsource

=

RCD;

I asked the brother of the report platform development group. It turned out that there was a prefix rassdk: // before sfilepath, as follows Object sfilepath = @ "rassdk: // e: //aaa.rpt";

转载请注明原文地址:https://www.9cbs.com/read-114860.html

New Post(0)