Question Crystal Report Access Denied?

aamirsaif

New member
Joined
Jul 13, 2010
Messages
1
Programming Experience
5-10
Hi,

I am facing one problem regarding one of my win application. Let me explain first environment here.
Previously we have one user 'user1' , i developed application for this user which contains almost 15 crystal reports. couple of reports out of them are having datasource as dataset which i use to call by setdatasource. It was working fine. user1 was a domain user having admin previlages on local pc and full control on reports folder+Temp folder. all reports was working fine.
Now user1 has left and we are having user2 again domain user, local admin and full control on reports folder+Temp folder all reports are working fine but the 2 reports with dataset as datasource are giving me the error as follows,

Load report failed.

System.Runtime.InteropServices.COMException (0x80004005): Access is denied.

at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)
at myproj.frmrpttest.btnLoad_Click(Object sender, EventArgs e)
 
Back
Top