| PDFsharp & MigraDoc Forum https://forum.pdfsharp.net/ |
|
| Access denied error from windows azure website https://forum.pdfsharp.net/viewtopic.php?f=2&t=2726 |
Page 1 of 1 |
| Author: | HetalPatel [ Fri Jan 31, 2014 11:42 pm ] | ||
| Post subject: | Access denied error from windows azure website | ||
Code: filepath = Path.Combine( Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "MigraDoc.mdddl"); MigraDoc.DocumentObjectModel.IO.DdlWriter.WriteToFile(document, filepath); PdfDocumentRenderer renderer = new PdfDocumentRenderer(true, PdfSharp.Pdf.PdfFontEmbedding.Always); renderer.Document = document; renderer.RenderDocument(); filepath = Path.Combine(filerepo.GetFolderPath(foldername), filename); renderer.PdfDocument.Save((filepath)); Process.Start((filepath)); Hi please see attached image for detail error message I had deployed my website on windows azure website.
|
|||
| Author: | Thomas Hoevel [ Mon Feb 03, 2014 10:31 am ] |
| Post subject: | Re: Access denied error from windows azure website |
Looks as if the Desktop is not accessible. Store the files in a different location. |
|
| Author: | HetalPatel [ Tue Feb 04, 2014 7:16 pm ] | ||
| Post subject: | Re: Access denied error from windows azure website | ||
Hi Thomas, I changed location to Azure server "site/wwwroot/content/filerepo/file.pdf" Still am getting an error, please see an image.
|
|||
| Author: | Thomas Hoevel [ Wed Feb 05, 2014 9:03 am ] |
| Post subject: | Re: Access denied error from windows azure website |
Duplicate post: viewtopic.php?p=7860#p7860 |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|