Forum Bugs

Azure issue

Amarendra
I am getting the same exception "The pipe has been ended"

I hosted my API in azure so my route to access the folder is D:\home\site\wwwroot\wwwroot\prince\bin\prince.exe

When I pass my path to ConvertString, I got an exception "The pipe has been ended".
Could you please help me with the issue.

Thanks in advance.
mikeday
Can you successfully run Prince from the command-line?
Amarendra
I am hosting my application in azure app service. So here there is no word called as command-line. In azure app service I have created a folder prince(this was available in prince/latest). Directly I am point to prince.exe in my project.
mikeday
We are putting together an example of running Prince on Azure which we will release next week.
mikeday
Here is a tutorial showing how to setup Prince on Azure:

https://github.com/yeslogic/azure-prince-example/

This is a Visual Studio 2019 project that demonstrates generating a PDF with Prince in C# / ASP.NET Core. It uses the Prince C# / .Net Wrapper. It has been confirmed to work when deployed as an App Service on Microsoft Azure.