473,395 Members | 1,885 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,395 software developers and data experts.

Crystal - Access denied - deployment

We have recently setup a new server:
Windows 2003 (Version 5.2)
IIS 6.0
ASP.NET 2.0

Using existing code that previously worked we can't seem to export PDFs from
our Crystal reports anymore (exception below). From past problems we know
the exception typically means that the export destination does not have the
proper security permissions. Normally you have to add NETWORK SERVICE with
permissions but we use Windows Authentication with no anonymous so we simply
add permissions for the user.

To help trouble shoot we have added full permissions for both our users and
the NETWORK SERVICE (with no luck). We also, added full permissions for
these to the temp folder as well (which we expected wouldn't do anything but
had to try).

Furthermore, we currently dump the dataset into the directory via WriteXML
to ensure the user has proper directory access. This succeeds just prior to
running the Crystal Export command.

We really are at the end of our rope on this so any direction at all would
be greatly appreciated.

Exception and stack trace:
------------
Access denied. Error in File
C:\WINDOWS\TEMP\temp_924c10a0-4bd9-40e6-b168-5e40a67d556f
{D09FF055-3EC3-45B7-9FF0-FAA16702420D}.rpt: Access to report file denied.
Another program may be using it. at
CrystalDecisions.ReportAppServer.ConvertDotNetToEr om.ThrowDotNetException(Exception
e) at
CrystalDecisions.ReportSource.EromReportSourceBase .ExportToStream(ExportRequestContext
reqContext) at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.ExportToStream(ExportRequestContext
reqContext) at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export(ExportRequestContext
reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export()
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Export() at
_ExportPDF() in ReportBUS\Report.vb:line 1113

TIA,
- Marc Castrechini

Jul 13 '06 #1
1 1935
Hi Marc,

As for this issue, it seems some crystal report specific temp files(in the
machine temp dir) is locked by some process which cause your crystal report
code unable to access it. For generic throubleshooting , you can consider
use the processexplorer.exe tool to check file handle and locate the
process which locks the file.

http://www.sysinternals.com/utilitie...sexplorer.html

Also, since this is a crystal report specific issue, we suggest you try
contacting crystal report support on further assistance.

http://support.microsoft.com/kb/317789/en-us

http://support.microsoft.com/kb/100368/en-us

Thanks for your understanding.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Jul 14 '06 #2

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

Similar topics

0
by: Larry Pits | last post by:
Hi All, Everytimes I tried to view any crystall reports, I got this error message Server Error in '/xxxx' Application....
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Rod | last post by:
I've got a Crystal Reports for Visual Studio.NET 2003 that I wrote. Up until now, I have been able to run it just fine, however, I had to change the access method to use Active Directory. (It...
6
by: Chuck Yeager via DotNetMonster.com | last post by:
I think I am giong to die, this is driving us nuts. Here is the error we are getting when trying to use CrystalReportViewer: OS: XP SP1 and another machine XP SP2 (same errors) IDE: VS .NET...
0
by: Leonard Danao | last post by:
Anyone have any ideas as to why this is happenning. There are no other versions of Crystal installed aside from the one that came with vs2003 enterprise. the error happens when the...
3
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that...
0
by: arial | last post by:
Hi all, I am getting this error message while try to compile my application. I am using visual studio 2003 and crystal report 9.1.5000. I have some old application which is running fine but...
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...
2
by: =?Utf-8?B?RWRkaWU=?= | last post by:
Here is my scenario for a problem I can't solve. I am hosting a 3.5 WCF service in IIS on Windows Server 2003. The service works fine with the WCF test client in Visual Studio 2008 and from an...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.