Access to the path 'C:\Inetpub\vhosts\shraman-94588.package\gyanbhandars.in\wwwroot\wwwroot\tempDownload\AllBookDetails.csv' is denied. at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) at System.IO.File.WriteAllText(String path, String contents, Encoding encoding) at GyanBhandar.Controllers.SearchController.GetAll() in H:\Projects\GB\GitCode\Controllers\SearchController.cs:line 794