1. damian jimenez
  2. PowerServer
  3. Friday, 3 February 2023 17:18 PM UTC

Hello people
Running Powerbuilder 2022 Build 1892, deploy from PC1 to PC2 (where run IIS) and want to access from PC3 to PC2 to download Client app using powerserver (see image) 

Question 1
Performing remote deployment, if I change localhost to the corresponding ip where will run the IIS, I get an error. (see image)

Question 2
in case of deploy as localhost it runs perfect locally, but when i want to access from client i get the same error as in question 1 (see other image)
(in this case chane INI file and execute customdeploy.dll previusly)

I can't see for now where the mistake is
thanks a lot 


Attachments (2)
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Friday, 3 February 2023 19:15 PM UTC
  2. PowerServer
  3. # 1

Hi Damian,

Are you also publishing the Web APIs to the IIS server?

I think this is the step you're missing.
When you run the project from the IDE, the Web APIs are started automatically for you. But if you deploy to a server, you need to also publish the Web APIs.

Please see this tutorial on how to do this specific step.

Regards,
Francisco

Comment
  1. damian jimenez
  2. Wednesday, 8 February 2023 11:48 AM UTC
Indeed, I followed Armeen's advice,

went back a step to discard and perform tests, my problem was that I thought that running the customizedeploy.dll was enough to make it run without errors from the client machine.

(https://docs.appeon.com/ps2022/Change_the_Web_API_URL_for_an_application.html)



So that there is no authentication error, perform:

1- Change localhost to the corresponding ip address (192.168.150.203 in my case) in "Web API URL" inside .NET Server in powerserver project and

2-then, "Deploy Powerserver Project" from the Powerserver toolkit then

3-make a publish from Snapdevelop

And it no longer gave an error.

Thank you very much Armeen, sometimes going slower you go further :)
  1. Helpful 2
  1. Francisco Martinez @Appeon
  2. Wednesday, 8 February 2023 14:22 PM UTC
Thanks for posting the solution!

Regards - Francisco
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 8 February 2023 15:00 PM UTC
Glad it is resolved and thanks for pointing out the issues to help other people!
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.