WebApplication을 업로드했습니다. 내 응용 프로그램은 Crystal Reports 2008 sp3과 함께 VS2008에 있습니다. 병렬 plex 서버에 업로드했습니다. Bin 폴더에 Crystal Reports의 모든 Required Dll을 추가했습니다. 내 보고서 경로도 정확합니다.Crystal Report "잘못된 파일 이름입니다." 발행
내가받을 오류가 나는 오류 보고서는 루트 폴더 자체에 누워있다 .. 여기서 얻을 수 아니다
Line 41: ReportDocument myreport = new ReportDocument();
Line 42: string reportPath = Server.MapPath("~/CrystalReport.rpt");
Line 43: myreport.Load(reportPath);
Line 44:
Line 45: myreport.SetDataSource(ds);
[COMException (0x800001fb): Invalid file name.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356
[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +418
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +895
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
_Default.CreateReport() in d:\inetpub\vhosts\mydomain.in\subdomains\mysubdomain\httpdocs\Default.aspx.cs:43
_Default.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\mydomain.in\subdomains\mysubdomain\httpdocs\Default.aspx.cs:21
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
입니다. 그래서이 문제가 뭐지. 다른 폴더 aspnet_client가 있습니다. 그걸로 우리가해야 할 일이 뭐야?
답장을 기다리고 있습니다.
이 특정 보고서 또는 모든 보고서에서이 오류가 발생합니까? – Deb
모든 보고서 .. 나는 허가와 함께 몇 가지 문제가 있다고 생각하지만 그것을 알아낼 수 없습니다. 내 IIS에서 정상적으로 작동하고 있습니다. – Moiz
보고서 서버 (네트워크 서비스)에 C : \ Windows \ Temp \ 폴더에 대한 읽기 권한이 있는지 확인하십시오. – Deb