Permission Errors in the Documents Folder

I'm getting the error when generating and xlsx to HTML:

Error: Access to the path '~\Documents\temp\84d7ae58-6821-4dd4-ab1b-f6bbeb820e7e_Xls\html' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) at .SaveFileData(FileDescription , FileData ) at GroupDocs.Viewer.Handler.ViewerHandler`1.( ) at GroupDocs.Viewer.Handler.ViewerHandler`1.( ) at Acosta_SF_Doc_Streaming.Default.processFile(String DocumentName)

What permissions do I need to get this to work?


I have the appPool setup with an account that has full control over the physical Documents directory.
Any help would be appreciated.


Got it to work. For some reason on our server we had to change the StoragePath from ~/Docoments/ to the full path on the server. Example StoragePath = @“D:\files\Documents”

Hi Todds,


Its good to know that you have resolved your issue. In case of any other question, please feel free to contact us.

Have a nice day.
Warm Regards