Solved

Sharepoint 2010: UnauthorizedAccessException was handled by user code

Posted on 2013-01-01
2
553 Views
Last Modified: 2013-01-02
I'm having error, when deploying mga custom webpart made in visual studio 2010 that has crystal report on my sharepoint 2010 website, when i'm trying to debug my webpart, it shows an error UnauthorizedAccessException was handled by user code "Access to the path \temp\[filename].rpt is denied", when im looking for the .rpt i its not exist. what seems to be the problem on this? did i missed something?

thanks and regards.
0
Comment
Question by:LiezleRagaas
2 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 38736391
Is it trying to deploy a report file to the file system on your web server?  If so, verify your user has access to the folder.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 38738295
Crystal Reports needs access to the Temp files. Make sure the user account used to run your app pool has write access to temp folder.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now