473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problem with Crystal Reports

I have problem with Crystal Reports. When I Am trying to create PDF file
I get an error that I copied below.
The same application is installed on two other machines and everything
works fine. Error apears on line 62.

Error in File
C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7-65df-4284-8fcf-7
24fd21dc878.rpt: Access to report file denied. Another program may be
using it.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details:
CrystalDecisions.CrystalReports.Engine.LoadSaveRep ortException: Error in
File
C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7-65df-4284-8fcf-7
24fd21dc878.rpt: Access to report file denied. Another program may be
using it.

Source Error:
Line 60: CrystalReport1.ExportOptions.DestinationOptions =
DiskOpts
Line 61: DiskOpts.DiskFileName = Server.MapPath(".\") &
Session.SessionID & ".pdf"
Line 62: CrystalReport1.Export()
Line 63: Response.ClearContent()
Line 64: Response.ClearHeaders()
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #1
3 1554
Hi schapopa,

I think the problem is you don't give (or not enough )
permissions for your .NET Web account (ASPNET in WINDOWS
2000) to access Temp folder.

HTH,

Elton Wang
el********@hotmail.com
-----Original Message-----
I have problem with Crystal Reports. When I Am trying to create PDF fileI get an error that I copied below.
The same application is installed on two other machines and everythingworks fine. Error apears on line 62.

Error in File
C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7- 65df-4284-8fcf-724fd21dc878.rpt: Access to report file denied. Another program may beusing it.
Description: An unhandled exception occurred during the execution of thecurrent web request. Please review the stack trace for more informationabout the error and where it originated in the code.

Exception Details:
CrystalDecisions.CrystalReports.Engine.LoadSaveRe portExcep tion: Error inFile
C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7- 65df-4284-8fcf-724fd21dc878.rpt: Access to report file denied. Another program may beusing it.

Source Error:
Line 60: CrystalReport1.ExportOptions.DestinationOptions =DiskOpts
Line 61: DiskOpts.DiskFileName = Server.MapPath (".\") &Session.SessionID & ".pdf"
Line 62: CrystalReport1.Export()
Line 63: Response.ClearContent()
Line 64: Response.ClearHeaders()
*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!
.

Nov 19 '05 #2
Thank you very much for your help. ASPNet had a permission on the
folders. We found out that administrator gave hidden access to whole
hard drive. When we took this out our problem was solved.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3

Hi,

I am facing similar problem as mentioned below .. pls help

Sanjay
schapopa wrote:
*I have problem with Crystal Reports. When I Am trying to create PDF
file
I get an error that I copied below.
The same application is installed on two other machines and
everything
works fine. Error apears on line 62.

Error in File
C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7-65df-4284-8fcf-7
24fd21dc878.rpt: Access to report file denied. Another program may
be
using it.
Description: An unhandled exception occurred during the execution of
the
current web request. Please review the stack trace for more
information
about the error and where it originated in the code.

Exception Details:
CrystalDecisions.CrystalReports.Engine.LoadSaveRep ortException: Error
in
File
C:\DOCUME~1\DS-7TY~1\ASPNET\USTAWI~1\Temp\temp_cc3ddba7-65df-4284-8fcf-7
24fd21dc878.rpt: Access to report file denied. Another program may
be
using it.

Source Error:
Line 60: CrystalReport1.ExportOptions.DestinationOptions =
DiskOpts
Line 61: DiskOpts.DiskFileName = Server.MapPath(".\") &
Session.SessionID & ".pdf"
Line 62: CrystalReport1.Export()
Line 63: Response.ClearContent()
Line 64: Response.ClearHeaders()
*** Sent via Developersdex http://www.developersdex.com
***
Don't just participate in USENET...get rewarded for it! *


--
csanjay72
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
1
by: Mithun Verma | last post by:
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client...
5
by: BStorm | last post by:
I have a transaction log file where the DataSet table's Description column is actually delimited into "subcolumns" based upon the transaction id. I would like to parse these into separate fields...
1
by: Teresa B | last post by:
I am going through your Brian Bischof's walkthrough in Chapter 1 of his book Crystal Reports .Net Programming and have come up to a problem. When I load the ReportDocument onto the form I get no...
1
by: Doug Lim | last post by:
I have an ASP.NET application that I've developed using Visual Studio ..NET 2003 and I'm making use of Crystal Reports for .NET that's included to return reports back to the visitor's web browser...
3
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to...
0
by: Monali | last post by:
Hi, I created a ASP.NET crystal reports web site in VS 2005. I wanted to display the data in a DataSet in the Crystal Reports viewer control. I am getting the DataSet from another dll. The...
3
by: VMI | last post by:
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their data...
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
1
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.