Solved

Sharepoint 2010: UnauthorizedAccessException was handled by user code

Posted on 2013-01-01
2
560 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

778 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