title: Azure Function - Access to the path 'C:\Program Files (x86)\SiteExtensions\Functions\4.1.3\64bit\x64\' is denied
body: <p>I am trying to create below Azure Function. This run perfectly fine in local environment, however when deployed to Cloud, I get below Error.</p>
  <p><strong>Access to the path 'C:\Program Files (x86)\SiteExtensions\Functions\4.1.3\64bit\x64' is denied.</strong></p>
  <p>I am new to Azure functions, any help would be greatly appreciated. Below is the code.
  This seems to be a simple function, however I am not able to fix it. The line at which I am getting above mentioned error is <strong>pdfRenderer.Load(input);</strong></p>
  <p>I am using a nuget package <strong>Syncfusion.EJ2.PdfViewer</strong> for <strong>PdfRenderer</strong>. Not sure if this package has any limitation to load data from stream on serverless environment.</p>
  <pre><code>        public static void Run([EventGridTrigger] EventGridEvent eventGridEvent,
          [Blob(&quot;{data.url}&quot;, FileAccess.Read, Connection = &quot;AzureWebJobsStorage&quot;)] Stream input,
          ILogger log)
          {
              PdfRenderer pdfRenderer = new PdfRenderer();
              pdfRenderer.Load(input);
              log.LogInformation(pdfRenderer.PageCount.ToString());
          }
  </code></pre>