Skip to Content
0
Former Member
Mar 19, 2009 at 05:58 PM

System.Runtime.InteropServices.COMException: Access is denied.

456 Views

Dear All,

When we run our web application in win2000 SP4 or WinXP SP2 , we get the below error. But in Windows 2003, It works fine.

We are using "Crystal Reports For Visual Studio (Version number 10.2.3600.0)" which installed by "Visual Studio 2005 Professional Edition".

I gave full access to all folders in the server for ASPNET USERS and Everyone. But It still doesn't work. I think it is not related to file system permissions.

Do Windows 2000 and XP support the "Crystal Reports For Visual Studio" ?

Thanks for your support.

Error message is below :

[COMException (0x80004005): Access is denied.

]

CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +89

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279

[Exception: Load report failed.]

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +341

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +870

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73

discoveryZone.modules.reports.doubleVisitsPerson.bindMyReport() in c:\Inetpub\wwwroot\discoveryZone\modules\reports\doubleVisitsPerson.aspx.cs:146

discoveryZone.modules.reports.doubleVisitsPerson.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\discoveryZone\modules\reports\doubleVisitsPerson.aspx.cs:71

System.Web.UI.Control.OnLoad(EventArgs e) +99

System.Web.UI.Control.LoadRecursive() +47

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061