Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Getting an access is denied error against a Crystal Reports for VS.NET report

Reply
Thread Tools

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

 
 
Rod
Guest
Posts: n/a
 
      09-28-2004
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


 
Reply With Quote
 
 
 
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      09-29-2004
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.)

 
Reply With Quote
 
 
 
 
Rod
Guest
Posts: n/a
 
      09-29-2004
Will do, Steven, thank you.

Rod

"Steven Cheng[MSFT]" <v-> wrote in message
news...
> 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.)
>



 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      09-30-2004

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.)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
First time crystal report user - How do i create a crystal reports from asp.net web form? Learner ASP .Net 1 01-11-2006 08:20 PM
Calling Crystal Reports in ASP.NET using the rptserver.asp given by Crystal Reports Peri ASP .Net 1 07-21-2005 12:56 PM
Crystal Report Access Denied Chuck Yeager via DotNetMonster.com ASP .Net 6 04-11-2005 01:32 PM
FAIL TO LOAD THE CRYSTAL REPORT USING WEB CRYSTAL REPORT VIEWER Comfort ASP .Net Web Controls 0 10-18-2004 01:35 PM
Crystal Reports.Net in ASP.NET - access denied to aspnet/local settings/temp Brian Fulford ASP .Net 0 09-02-2004 08:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57