Re: Crystal Reports .NET: Exporting to PDF
- From: "Norman Yuan" <NotReal@xxxxxxxxxxx>
- Date: Tue, 12 Jun 2007 16:30:20 -0700
Are you trying to save the report (as *.pdf) to a different computer other
than the web server where the ASP.NET app runs (could not tell from your
description)?
<btysgtmajor@xxxxxxxxx> wrote in message
news:1181683611.065692.300540@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
Ok, here's my situation: I have a Win2k3 webserver that's accessing
a UNC path on a fileserver containing the files for my website. Now,
I have an ASP.NET app deployed and it works well, except for one
thing...
I have the bundled version of CR.NET (am using Visual Studio .NET
2003 with .NET v1.1). I have code that creates a report and exports
it to PDF. Now, this works fine if I setup the ASP.NET app locally to
the webserver. However, the second I put it onto the fileserver and
access it as described above, it doesn't export. I've used ProcMon
and have verified that the report itself is created (using Crystal
DLLs on the webserver), but once it tries to save the PDF back to the
fileserver, it says "Access Denied" in ProcMon (the path is UNC).
What's more, in the "Access Denied" event, it doesn't say which user
the process is trying to impersonate, leading me to believe that
Crystal is using some credentials local to the webserver and trying to
use them with the fileserver.
I can see that NT AUTHORITY\NETWORK SERVICE is the "user" for the
"Access Denied" event on the webserver, so I tried granting NETWORK
SERVICE (as well as ASPNET, etc.) full control permissions, but to no
avail.
Has anyone run into this before? Is there a solution? Thanks for
any help in advance!
.
- Follow-Ups:
- Re: Crystal Reports .NET: Exporting to PDF
- From: btysgtmajor
- Re: Crystal Reports .NET: Exporting to PDF
- References:
- Crystal Reports .NET: Exporting to PDF
- From: btysgtmajor
- Crystal Reports .NET: Exporting to PDF
- Prev by Date: Crystal Reports .NET: Exporting to PDF
- Next by Date: Re: Converting C definitions to VB.NET
- Previous by thread: Crystal Reports .NET: Exporting to PDF
- Next by thread: Re: Crystal Reports .NET: Exporting to PDF
- Index(es):
Relevant Pages
|