By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,509 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,509 IT Pros & Developers. It's quick & easy.

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

P: n/a
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_b 4ab91a5-e1b0-4c9a-ae09-36b
e3a5fa324.rpt"
is denied.

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

Rod
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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_b 4ab91a5-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.)

Nov 18 '05 #2

P: n/a
Rod
Will do, Steven, thank you.

Rod

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:x4*************@cpmsftngxa06.phx.gbl...
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_b 4ab91a5-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.)

Nov 18 '05 #3

P: n/a

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.)
Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.