Getting an access is denied error against a Crystal Reports for VS.NET report

R

Rod

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
control on the .aspx page.) I'm getting the following error message:

Access to the path
"C:\DOCUME~1\MYMACHINE\ASPNET\LOCALS~1\Temp\temp_b4ab91a5-e1b0-4c9a-ae09-36b
e3a5fa324.rpt"
is denied.

What do I need to do in order to make this work again?

Rod
 
S

Steven Cheng[MSFT]

Hi Rod,

From the information you provided, the problem is likely due to permission
issue. After you changed your Access method , what have you done in it ?
Since the error info shows:
======================
Access to the path
"C:\DOCUME~1\MYMACHINE\ASPNET\LOCALS~1\Temp\temp_b4ab91a5-e1b0-4c9a-ae09-36b
e3a5fa324.rpt"
is denied.
=======================

It indicate that the ASP.NET process lacks permission to that temperary rpt
file. Is the
"C:\DOCUME~1\MYMACHINE\ASPNET\LOCALS~1\Temp" the asp.net temprary folder on
your dev machine?

And have you changing the asp.net's current context when performaning the
access checking via AD in the Crystal reports's access code? Such as use
impersonation ? When the asp.net 's current context be changed to a low
permission account, it may cause problem when accessing some restricted
resoures.

Please have a check on this and if you have any other questions or new
findings, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

Steven Cheng[MSFT]

Well, I'll wait for your good news. If you have any new findings or meet
some other problems on the asp.net programming, please feel free to post
here. Good LUck!

Regards,

Steven Cheng
Microsoft Online Support

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top