Print Page | Close Window

Crystal Report:Specified File is not found.

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=10270
Printed Date: 05 May 2025 at 3:43am


Topic: Crystal Report:Specified File is not found.
Posted By: mittalpatel
Subject: Crystal Report:Specified File is not found.
Date Posted: 16 Jun 2010 at 3:40am
Hi..
I created my website in asp.net.Than I create Virtual directory in IIS.
My all pages are running correctly,but when I open Crystal Report.It runs Successful first time but when I running website again than  Crystal report gives the error that specified file is not found.
So please help me..How can I solve this problem???

Software/Hardware used:
Visual Studio net 2005(asp.net)

-------------
Mittal Patel



Replies:
Posted By: hilfy
Date Posted: 25 Aug 2010 at 12:56pm
Are you explicitly calling .Dispose() on the report in your FormUnload event handler?  The Crystal SDK is built on COM objects.  the .NET framework does not handle memory management well with COM objects so you have to specifically dispose them.  Not doing this can cause any number of problems.  This may be your issue.
 
Then other possible cause of the issue is caching.  Crystal usually creates at least one temp file while processing a report.  It's possible that the second call to open the report is trying to open the file from the first call which no longer exists.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window