473,386 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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
3 2261
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
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
3
by: trustme1 | last post by:
I am wanting to be able to write reports against an ms-access database that is part of another package. I only want to report from the database. What I need is a package that will allow me to...
0
by: Gary | last post by:
Hi All, I am hoping someone can either help me with this issue or recommend a third party company to aid in its resolution. Environment: VS 2003, W2K3 Crystal Report 9.0 SQL 2000
0
by: cg | last post by:
I have designed a report that uses the CrystalReportViewer which works fine on my local machine. I created a setup to install Crystal Report in my Production Server (I saw the crnet_deployment.pdf...
0
by: Goran | last post by:
Hi I have created a very simple ASP.Net application that only consists of a CrystalReports Viewer, that has been connected to a .rpt file. When the page is loaded in the browser, the following...
0
by: Brian Fulford | last post by:
I have a report generation page that chooses which report to load and manipulate in the code behind. I am setting TextBox values and suppressing sections and whatnot. The code works fin when I...
5
by: Henry | last post by:
I am writing a Windows forms VB.Net/MS SQL application that utilizes Crystal Reports. I want to be able to dynamically set the report data source at run time. According to article...
1
by: Marc Castrechini | last post by:
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...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.