• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 598
  • Last Modified:

Sharepoint 2010: UnauthorizedAccessException was handled by user code

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
LiezleRagaas
Asked:
LiezleRagaas
1 Solution
 
Justin SmithSr. System EngineerCommented:
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
 
CodeCruiserCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now