access to path denied

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Converter for .NET (v1)  /  access to path denied

DynamicPDF Converter for .NET (v1) Forum

 Oct 12 2010 1:35 PM
Access to the path 'C:\Windows\TEMP\1b7ee4b4-0139-417b-acd2-ec1e54ee5b02.pdf' is denid

On the line below....

pdfByteStream = Converter.Convert("http://localhost:56122/usq-qual/usqscreenpdfdraft2.aspx?usqid=" & usqid & "&ts=" & timestamp)

and the config
<ceTe.dynamicPdf.conversion tempFilesPath="%usq-qual%\TMP"
                              conversionsPerProcess="1000"
                              />

thanks,
mary ann
 Oct 12 2010 1:43 PM
Posted by a ceTe Software moderator
Hello Mary Ann,

This error is caused because the IUSR has no permissions on the temp folder (tempFilesPath="%usq-qual%\TMP"). This can be solved by giving the IUSR permissions on the temp folder.


Thanks,
ceTe Software Support Team.
 Oct 12 2010 3:58 PM
we don't want it to use the windir path...what do i need to put in there for it to use a different path?

For instance, we don't want to use the C drive.  We want to use a different drive and path.
 Oct 12 2010 4:20 PM
Posted by a ceTe Software moderator
Hello,

You can give it a path on a different drive, just set the value for what ever folder you want it to be. for example: "D:\ConverterTemp".
Please make sure the folder has permissions to the IUSR otherwise you will get access to path denied error.

Thanks,
ceTe Software Support Team.
 Aug 02 2016 10:17 AM
Where exactly in the web.config does the following line go:
<ceTe.dynamicPdf.conversion tempFilesPath="%usq-qual%\TMP" conversionsPerProcess="1000" />

I get an error no matter where I put it.

thanks,
 Aug 08 2016 10:03 AM
Posted by a ceTe Software moderator
Hello,

You will need to change this settings in ceTe.DynamicPDF.Converter.Service.exe.config file and not in the appliaction’s web.config file. You can find the ceTe.DynamicPDF.Converter.Service.exe.config file located at: C:\Program Files (x86)\ceTe Software\DynamicPDF Converter v1.0.1 for .NET\Service.

Please change it to some other folder path where in the account you are using to run the web application has read and write permissions. Also please restart the DynamicPDF Converter service after modifying  and saving the ceTe.DynamicPDF.Converter.Service.exe.config file.

Thanks,
ceTe Software Support Team.
 May 07 2018 4:47 AM
I will have to host the application on some server. How will I find this file in Server. Please tell me a solution for that.
 May 07 2018 9:23 AM
Posted by a ceTe Software moderator
Hello,

You will need to install the DynamicPDF Converter product on the hosting server in order to run your application. You can download the DynamicPDF Converter product installer file here. Please download the correct installer file (x86 or x64).

Once you install the product on the Server you can find the DynamicPDF Converter service config file  is installed at "%ProgramFiles%\ceTe Software\DynamicPDF Converter v1.x.x for .NET\Service" on 32-bit machines and "%ProgramFiles(x86)%\ceTe Software\DynamicPDF Converter v1.x.x for .NET\Service" on 64-bit machines by default.  You can edit the tempFilesPath attribute to set the desired file path for the folder on the server.  Restart the DynamicPDF Converter product service before you run your application.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 3:06 AM.