?
Solved

Sharepoint 2010: UnauthorizedAccessException was handled by user code

Posted on 2013-01-01
2
Medium Priority
?
586 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

741 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