.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Others >> Post New QuestionBookmark and Share Subscribe to Forum

Receiving below error while accessing crystal report

Posted By: priya     Posted Date: July 13, 2012    Points:5   Category :Others
Can someone help me on this

The process cannot access the file because it is being used by another process.

--------------------------------

at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
at Petco.Internal.Framework.Adapters.Crystal.GetReportArray(String reportName, FileType fileType, Int32 maxReportSize)
at Petco.Internal.Framework.Adapters.Crystal.SendReportToBrowser(String reportName, FileType fileType, Boolean forceSaveFileDialog, Int32 maxReportSize)
at Petco.Internal.Framework.Adapters.Crystal.SendReportToBrowser(String reportName, FileType fileType, Boolean forceSaveFileDialog)
at Petco.Internal.Web.PortalWeb.Reports.Donation.RenderReport(String eventId, String districtId, String storeId)
at Petco.Internal.Web.PortalWeb.Reports.Donation.RenderStoreReport(String eventId, Int32 storeId)
at Petco.Internal.Web.PortalWeb.Reports.Donation.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Responses
Author: Deco             
Posted Date: July 16, 2012     Points: 20   

Please check if you have the admin rights on your desktop. If you have the admin rights, then you could be able to view the crystal report.

Regards,
Deco
Author: Sandip Narawade             
Posted Date: July 19, 2012     Points: 20   

dispose the objects first.........then see

Author: longwest             
Posted Date: March 04, 2015     Points: 20   

Refer to this:
https://social.msdn.microsoft.com/Forums/en-US/06c1c0ae-378a-4dbf-8015-9e44f33359be/error-when-exporting-existing-rpt-to-pdf-using-vs2010-and-crystal-reports-2008-sp2-and-xml?forum=vscrystalreports



Best regards.
http://www.keepdynamic.com/



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend