Unable to use SelectPDF after deployment to IIS2019 Community Moderator ElectionError - Unable to access the IIS metabaseHow do I allow URL encoded path segments in AzureVisual Studio 2017 error: Unable to start program, An operation is not legal in the current stateWeb Deploy Deployment package Installment Error “ERROR_FILE_IN_USE”Nginx reverse proxy re-direct to Account/LoginFailed at step CHDIR spawning “/usr/bin/dotnet”: No such file or directoryASP.NET Core 2.0: HTTP requests timeout, but HTTPS requests doesn'tASP.NET Deployment issue saving image to databaseIssues using Chrome-Pdf recipie on IISSelectPdf File Access

Am I not good enough for you?

Do f-stop and exposure time perfectly cancel?

If Invisibility ends because the original caster casts a non-concentration spell, does Invisibility also end on other targets of the original casting?

Why doesn't the EU now just force the UK to choose between referendum and no-deal?

"However" used in a conditional clause?

What is the blue range indicating on this manifold pressure gauge?

What injury would be of little consequence to a biped but terrible for a quadruped?

Replacing Windows 7 security updates with anti-virus?

Latest web browser compatible with Windows 98

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

Draw arrow on sides of triangle

Why do Australian milk farmers need to protest supermarkets' milk price?

Is "history" a male-biased word ("his+story")?

As a monk, can you make a melee attack roll using your Strength modifier, but roll damage with your Dexterity modifier?

"One can do his homework in the library"

Examples of odd-dimensional manifolds that do not admit contact structure

When two POV characters meet

Excess Zinc in garden soil

Making a sword in the stone, in a medieval world without magic

Touchscreen-controlled dentist office snowman collector game

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

Best mythical creature to use as livestock?

Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?

Is it ok to include an epilogue dedicated to colleagues who passed away in the end of the manuscript?



Unable to use SelectPDF after deployment to IIS



2019 Community Moderator ElectionError - Unable to access the IIS metabaseHow do I allow URL encoded path segments in AzureVisual Studio 2017 error: Unable to start program, An operation is not legal in the current stateWeb Deploy Deployment package Installment Error “ERROR_FILE_IN_USE”Nginx reverse proxy re-direct to Account/LoginFailed at step CHDIR spawning “/usr/bin/dotnet”: No such file or directoryASP.NET Core 2.0: HTTP requests timeout, but HTTPS requests doesn'tASP.NET Deployment issue saving image to databaseIssues using Chrome-Pdf recipie on IISSelectPdf File Access










0















I have a function that generates a PDF from a HTML page like this:



HtmlToPdf converter = new HtmlToPdf();
PdfDocument doc = converter.ConvertUrl(url);
var PdfArray = doc.Save();
doc.Close();


This works perfectly when I run it in VS 2017, However when I deploy to IIS it throws the following exception: "Conversion failure error 5."



According to my Googling this is related to the IIS not having the correct access to write. However I have as an attempt given that application access to every operation.



All suggestions would be greatly appreciated.










share|improve this question






















  • How did you publish and which line throw this exception? Have the published folder contains Select.Html.dep? If not, copy it from your project.

    – Tao Zhou
    Mar 7 at 7:30











  • It just published to a local IIS server, the published folder is the project folder (so nothing is moved, this might be the reason for it complaining) and yes Select.html.dep is in both the release and debug bin.

    – Atle Kristiansen
    Mar 7 at 9:44















0















I have a function that generates a PDF from a HTML page like this:



HtmlToPdf converter = new HtmlToPdf();
PdfDocument doc = converter.ConvertUrl(url);
var PdfArray = doc.Save();
doc.Close();


This works perfectly when I run it in VS 2017, However when I deploy to IIS it throws the following exception: "Conversion failure error 5."



According to my Googling this is related to the IIS not having the correct access to write. However I have as an attempt given that application access to every operation.



All suggestions would be greatly appreciated.










share|improve this question






















  • How did you publish and which line throw this exception? Have the published folder contains Select.Html.dep? If not, copy it from your project.

    – Tao Zhou
    Mar 7 at 7:30











  • It just published to a local IIS server, the published folder is the project folder (so nothing is moved, this might be the reason for it complaining) and yes Select.html.dep is in both the release and debug bin.

    – Atle Kristiansen
    Mar 7 at 9:44













0












0








0








I have a function that generates a PDF from a HTML page like this:



HtmlToPdf converter = new HtmlToPdf();
PdfDocument doc = converter.ConvertUrl(url);
var PdfArray = doc.Save();
doc.Close();


This works perfectly when I run it in VS 2017, However when I deploy to IIS it throws the following exception: "Conversion failure error 5."



According to my Googling this is related to the IIS not having the correct access to write. However I have as an attempt given that application access to every operation.



All suggestions would be greatly appreciated.










share|improve this question














I have a function that generates a PDF from a HTML page like this:



HtmlToPdf converter = new HtmlToPdf();
PdfDocument doc = converter.ConvertUrl(url);
var PdfArray = doc.Save();
doc.Close();


This works perfectly when I run it in VS 2017, However when I deploy to IIS it throws the following exception: "Conversion failure error 5."



According to my Googling this is related to the IIS not having the correct access to write. However I have as an attempt given that application access to every operation.



All suggestions would be greatly appreciated.







iis asp.net-core






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 6 at 17:45









Atle KristiansenAtle Kristiansen

160112




160112












  • How did you publish and which line throw this exception? Have the published folder contains Select.Html.dep? If not, copy it from your project.

    – Tao Zhou
    Mar 7 at 7:30











  • It just published to a local IIS server, the published folder is the project folder (so nothing is moved, this might be the reason for it complaining) and yes Select.html.dep is in both the release and debug bin.

    – Atle Kristiansen
    Mar 7 at 9:44

















  • How did you publish and which line throw this exception? Have the published folder contains Select.Html.dep? If not, copy it from your project.

    – Tao Zhou
    Mar 7 at 7:30











  • It just published to a local IIS server, the published folder is the project folder (so nothing is moved, this might be the reason for it complaining) and yes Select.html.dep is in both the release and debug bin.

    – Atle Kristiansen
    Mar 7 at 9:44
















How did you publish and which line throw this exception? Have the published folder contains Select.Html.dep? If not, copy it from your project.

– Tao Zhou
Mar 7 at 7:30





How did you publish and which line throw this exception? Have the published folder contains Select.Html.dep? If not, copy it from your project.

– Tao Zhou
Mar 7 at 7:30













It just published to a local IIS server, the published folder is the project folder (so nothing is moved, this might be the reason for it complaining) and yes Select.html.dep is in both the release and debug bin.

– Atle Kristiansen
Mar 7 at 9:44





It just published to a local IIS server, the published folder is the project folder (so nothing is moved, this might be the reason for it complaining) and yes Select.html.dep is in both the release and debug bin.

– Atle Kristiansen
Mar 7 at 9:44












1 Answer
1






active

oldest

votes


















0














From the troubleshooting page on SelectPdf website:
https://selectpdf.com/docs/Troubleshooting.htm#item3



The error code is this:



ERROR_ACCESS_DENIED
5 (0x5)
Access is denied.
Enable execute permissions on Select.Html.dep.



You need to go to the bin folder of your deployment to IIS and set execute permissions for the Select.Html.dep file. If you do not know the app pool user, in the first place, just set permissions for Everyone to see if it works.






share|improve this answer























  • The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

    – Atle Kristiansen
    Mar 7 at 13:37











  • What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

    – Tom
    Mar 8 at 14:35











  • Yes, that was exactly what I did. Should I try to restart the machine or something as well?

    – Atle Kristiansen
    Mar 8 at 19:09










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55029252%2funable-to-use-selectpdf-after-deployment-to-iis%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














From the troubleshooting page on SelectPdf website:
https://selectpdf.com/docs/Troubleshooting.htm#item3



The error code is this:



ERROR_ACCESS_DENIED
5 (0x5)
Access is denied.
Enable execute permissions on Select.Html.dep.



You need to go to the bin folder of your deployment to IIS and set execute permissions for the Select.Html.dep file. If you do not know the app pool user, in the first place, just set permissions for Everyone to see if it works.






share|improve this answer























  • The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

    – Atle Kristiansen
    Mar 7 at 13:37











  • What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

    – Tom
    Mar 8 at 14:35











  • Yes, that was exactly what I did. Should I try to restart the machine or something as well?

    – Atle Kristiansen
    Mar 8 at 19:09















0














From the troubleshooting page on SelectPdf website:
https://selectpdf.com/docs/Troubleshooting.htm#item3



The error code is this:



ERROR_ACCESS_DENIED
5 (0x5)
Access is denied.
Enable execute permissions on Select.Html.dep.



You need to go to the bin folder of your deployment to IIS and set execute permissions for the Select.Html.dep file. If you do not know the app pool user, in the first place, just set permissions for Everyone to see if it works.






share|improve this answer























  • The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

    – Atle Kristiansen
    Mar 7 at 13:37











  • What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

    – Tom
    Mar 8 at 14:35











  • Yes, that was exactly what I did. Should I try to restart the machine or something as well?

    – Atle Kristiansen
    Mar 8 at 19:09













0












0








0







From the troubleshooting page on SelectPdf website:
https://selectpdf.com/docs/Troubleshooting.htm#item3



The error code is this:



ERROR_ACCESS_DENIED
5 (0x5)
Access is denied.
Enable execute permissions on Select.Html.dep.



You need to go to the bin folder of your deployment to IIS and set execute permissions for the Select.Html.dep file. If you do not know the app pool user, in the first place, just set permissions for Everyone to see if it works.






share|improve this answer













From the troubleshooting page on SelectPdf website:
https://selectpdf.com/docs/Troubleshooting.htm#item3



The error code is this:



ERROR_ACCESS_DENIED
5 (0x5)
Access is denied.
Enable execute permissions on Select.Html.dep.



You need to go to the bin folder of your deployment to IIS and set execute permissions for the Select.Html.dep file. If you do not know the app pool user, in the first place, just set permissions for Everyone to see if it works.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 7 at 11:17









TomTom

17612




17612












  • The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

    – Atle Kristiansen
    Mar 7 at 13:37











  • What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

    – Tom
    Mar 8 at 14:35











  • Yes, that was exactly what I did. Should I try to restart the machine or something as well?

    – Atle Kristiansen
    Mar 8 at 19:09

















  • The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

    – Atle Kristiansen
    Mar 7 at 13:37











  • What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

    – Tom
    Mar 8 at 14:35











  • Yes, that was exactly what I did. Should I try to restart the machine or something as well?

    – Atle Kristiansen
    Mar 8 at 19:09
















The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

– Atle Kristiansen
Mar 7 at 13:37





The problem remains the same. not able to load the PDF. I have given "All" access to the Select.Html.Dep. In both bin directories.

– Atle Kristiansen
Mar 7 at 13:37













What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

– Tom
Mar 8 at 14:35





What exactly did you do? You need to open an Window Explorer, go to the folder where Select.Html.dep file is, right click on it, then Properties / Security tab and add Everyone full control. Did you do that?

– Tom
Mar 8 at 14:35













Yes, that was exactly what I did. Should I try to restart the machine or something as well?

– Atle Kristiansen
Mar 8 at 19:09





Yes, that was exactly what I did. Should I try to restart the machine or something as well?

– Atle Kristiansen
Mar 8 at 19:09



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55029252%2funable-to-use-selectpdf-after-deployment-to-iis%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1928 у кіно

Захаров Федір Захарович

Ель Греко