473,761 Members | 8,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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}.r pt: Access to report file denied.
Another program may be using it. at
CrystalDecision s.ReportAppServ er.ConvertDotNe tToErom.ThrowDo tNetException(E xception
e) at
CrystalDecision s.ReportSource. EromReportSourc eBase.ExportToS tream(ExportReq uestContext
reqContext) at
CrystalDecision s.CrystalReport s.Engine.Format Engine.ExportTo Stream(ExportRe questContext
reqContext) at
CrystalDecision s.CrystalReport s.Engine.Format Engine.Export(E xportRequestCon text
reqContext) at CrystalDecision s.CrystalReport s.Engine.Format Engine.Export()
at CrystalDecision s.CrystalReport s.Engine.Report Document.Export () at
_ExportPDF() in ReportBUS\Repor t.vb:line 1113

TIA,
- Marc Castrechini

Jul 13 '06 #1
1 1959
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 throubleshootin g , 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
1759
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. ---------------------------------------------------------------------------- ---- SQL Server does not exist or access
7
5021
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. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
3
2288
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 uses forms authentication but authenticates against Active Directory.) Now, it no longer can run the Crystal Report. (Within the ASP.NET page I would retrieve the data, put it into a dataset and then assign the dataset to the CrystalReportViewer...
6
13191
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 2003 ERROR MESSAGE -----------------------------------
0
1765
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 btnShowPDF_Click event is triggered private void btnShowPDF_Click(object sender, System.EventArgs e) { string
3
8008
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 libraries I made myself were not having this problem, but it only happened with a zip library I downloaded and copied into my program's directory. When using classes from this library, my service threw an "Access Is Denied" FileLoadException, which...
0
1532
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 when I developed a new application it is giving me this error message. Also, I am not running any other application while Compilling this one.
1
8145
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 file and itself into the exe. You would probably want a tool for this bit which could be in the zip too. So the app isnt single exe when running but when not running, it is. Just an idea for you to think about. Another option would possibly be to...
2
12876
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 ASP.Net client hosted on my development machine in VS2008. As soon as I deploy the ASP.net client to the "Same" IIS server, I get Access Denied messages. My goal is to use AD security groups so the authenticated user on the ASP.net page should be...
0
9376
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9923
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9811
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8813
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.