UnauthorizedAccessException in PDF Preview Handler
Posted by: Stephen Toub,
on 18 Dec 2006 |
View original | Bookmarked: 0 time(s)
For my article on preview handlers in the January 2007 issue of MSDN Magazine, I wrote a sample preview handler for previewing PDF files. This allows you to view PDF files in Outlook and in the Vista shell just as you would other document types for which there are built-in preview handlers, like for Word and Excel.
System.UnauthorizedAccessException: Access to the path 'C:\Users\yourusername\AppData\Local\Temp\3373c62fe9214489828d0ee72cd53d30.PDF' is denied. at System.IO.__Error.WinIOError(Int32...