Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Crystal Reports.Net in ASP.NET - access denied to aspnet/local settings/temp

Thread Tools

Crystal Reports.Net in ASP.NET - access denied to aspnet/local settings/temp

Brian Fulford
Posts: n/a
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 execute it from my machine
in the dev mode and when I access localhost from the same machine.

When another user tries to view the reports... a nasty error is generated. I
have given my IUSR account privileges to the aspnet directory but that did
not make a difference.

'************************ CODE CAUSING THE ERROR *************************
Private Sub SummarySelection()

Dim mySection As CrystalDecisions.CrystalReports.Engine.Section

mySection = SummaryReport.ReportDefinition.Sections.Item("Sect ion3") <<----
LINE 2214

'************************ CODE CAUSING THE ERROR *************************

Access to the path
"C:\DOCUME~1\FULFOB\ASPNET\LOCALS~1\Temp\temp_cf4e 806f-bd8e-4062-ba6b-182873
565cbc.rpt" is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share)
at CrystalDecisions.CrystalReports.Engine.ReportClass .Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.0()
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.get_ReportDefinition()
at Web.ccsm_reports.SummarySelection() in
C:\Web\billing.net1\ccsm\ccsm_reports.aspx.vb:line 2214
at Web.ccsm_reports.ReportDisplay() in
C:\Web\billing.net1\ccsm\ccsm_reports.aspx.vb:line 1466
at Web.ccsm_reports.btnPrint_Click(Object sender, EventArgs e) in
C:\Web\billing.net1\ccsm\ccsm_reports.aspx.vb:line 1411
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
at System.Web.UI.Page.ProcessRequestMain()

Reply With Quote

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
Crystal - Access denied - deployment =?Utf-8?B?TWFyYyBDYXN0cmVjaGluaQ==?= ASP .Net 1 07-14-2006 07:43 AM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
Crystal Report Access Denied Chuck Yeager via ASP .Net 6 04-11-2005 01:32 PM
Getting an access is denied error against a Crystal Reports for VS.NET report Rod ASP .Net 3 09-30-2004 06:41 AM
Re: Crystal Error: Access to the path "...Viewers\\dynamic_images" is denied?? Tracey Baker ASP .Net 1 12-04-2003 10:30 PM