Hi all.
I have followed all the steps outlined in the SnapDevelop 2019 R2 documentation to implement a Web API and have successfully consumed the API from PowerBuilder 2019 R2 using the localhost URL (https://localhost:5001/api/sample/load).
Then I have published the API to a remote server with Web Deploy, also successfully. The API has been hosted on a website called api with port 83 and application pool api. The app pool is started.
The initial question is, how should I reference the URL of the remote server API in PowerBuilder to consume it? (the remote server IP is 35.221.9.57).
Thanks in advance for any help.
Thanks for replying! When I browsed my site in IIS got error "HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModule" in its module list". I found a solution consisting by changing the web.config entry like this:
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
But now I'm getting new error: "HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure "
Any idea to solve this error?