I attached a ZIP with two projects. It appears the issue is only when the API is called from a web app.
- AsposeTest: Console app where the API works correctly
- AsposeTestWeb: A simple web page where the API fails. We cannot get the API to work in web apps anymore.
For the console app:
Create a cert, place it in the Documents folder and update the code with the cert name (if the use something other than bplogix.net.pfx) and update the password.
For the web app:
Do the same with the cert as was done for the console app. Also, there is a variable named root that will need to be updated to the fully qualified path to the web app, if they place it somewhere other than the path currently specified in the variable root.
Create a website in IIS and point it to the folder where the web app resides.
thxAspose.zip (845.9 KB)