Click here to Skip to main content
15,888,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I do not have impersonation enabled in my webconfig. Instead I have an impersonation class where i activate impersonation around the code where ever necessary, and deactivate it back. I create a pdf of a template pdf by populating the form fields, I have to use impersonation to do this because this pdf is being created on another server. I also save the picture that the user uploads to the folder on the server, i use impersonation to do this as well. I have to this picture to the pdf, and I use to be able to add it and create the pdf. Now whenever i try to add the picture to the pdf it is giving the access to the path is denied, and this error is thrown on the picture path not the pdf path. What is weird is that they are both in the same location. How is it that I am able to write to this folder, and read from the folder. But whenever i try to access the picture image again i get access is denied? Help would be greatly appreciated. Thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900