1. billy hugon
  2. PowerServer
  3. Friday, 22 December 2023 13:19 PM UTC

I finally got my new CS application to run under IIS on my local computer, but ONLY if I run it through the IDE -> Run Project.

In the past, I can invoke though my browser on other applications and it works fine.  Now, when I try, I get the generic "Download The Launcher" and "Run the application" but if I click ether, nothing happens.  

Again, if I click Run Project, it runs, but how can I get my application to run WITHOUT being in the IDE?  The deploy did not create any shortcuts either.  See the 3 screen shots below and let me know what I have wrong

 

 

 

 

 

 

 

 

 

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Saturday, 23 December 2023 02:59 AM UTC
  2. PowerServer
  3. # 1

Hi Billy,

Please test with the final release of R3. It should be available for download on January 5, 2024 in the downloads section: https://account.appeon.com/download

If you want to run the app outside of the IDE, you would need to select the "External" radio button.  This is change made starting from R2. 

Even if you are deploying to IIS, I recommend to use the "Folder" option and manually copy the files to your Web server.  This way, a single config could deploy to multiple Web servers no matter on your own developer machine or a remote server.  Also, you wouldn't have to go through the hassle of setting up Microsoft's "Web deploy".

Here are instructions for deploying your project to an external Web server: https://docs.appeon.com/ps2022r3/manual_deploy.html

And here are instructions fro deploying your project to a Docker container: https://docs.appeon.com/ps2022r3/Hosting_Web_APIs_in_Docker_Containers.html

Best regards,
Armeen

Comment
There are no comments made yet.
billy hugon Accepted Answer Pending Moderation
  1. Friday, 22 December 2023 17:27 PM UTC
  2. PowerServer
  3. # 2

Hi Chris,

Where do you see Internal?

 

BTW, I'm running 2022 R3.  So if I need to just hold off, thats fine.  We discussed this earlier in the week.  This will ultimately be deployed in Docker, but I was trying to run the application on my workstation first under IIS.  

Comment
  1. Chris Pollach @Appeon
  2. Friday, 22 December 2023 17:32 PM UTC
The "Within the IDE" checkbox means "Internal".

Yes, the current 2022 R3 *Beta* has IIS issues that Engineering is working on correcting for GA.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 22 December 2023 16:57 PM UTC
  2. PowerServer
  3. # 3

Hi Billy;

  Since your screen capture shows the "Internal" (Kestrel) server option - then you must be running PB 2022 R2. Please make sure that when you post product questions that you always list the Product Version & Build numbers as this helps us tremendously quite often to give you better answers.

   That being said, both PB 2022 R2 and PB 2022 R3 Beta have IIS issues that also seem to be linked to your described problem. Engineering has issued some hot fixes for R3 and they are currently being tested. Appeon is planning to have these IIS issues addressed in the PB 2022 R3 GA release next month. So for the meantime, please either stick to using the Kestrel server, run your App from the IDE or deploy a PS Install package (EXE or ZIP) and install that under your local IIS manually for now. HTH

Regards .. Chris

Comment
There are no comments made yet.
billy hugon Accepted Answer Pending Moderation
  1. Friday, 22 December 2023 16:29 PM UTC
  2. PowerServer
  3. # 4

 

I guess I'm not understanding this. I'm not running this under Kestrel. No Kestrel server is started when run. To make sure, I stopped IIS, clicked the Run Project and it failed.


If I deploy, the files are getting deployed to wwwroot under my <Project Folder> and <Project Folder>_API and I can click Run Project and it runs

 

 

 

 

CloudAppLauncher starts and runs fine

But if I try and run in my browser using http://LocalHost/<Project Folder>, nothing happens.  The CloudAppLauncher does not start and nothing happens.

 

 

 

Comment
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Friday, 22 December 2023 15:39 PM UTC
  2. PowerServer
  3. # 5

Hi Billy,

In PowerServer 2021, you needed to deploy your project to a local IIS instance to be able to run it from the IDE. It being located in your IIS instance meant that you are able to run it and access is even if the IDE is closed (you still had to have the Web APIs running either in Kestrel or on IIS, depending on how you configured the ports). However, in PowerServer 2022 R2 and onwards, the IDE no longer requires a local IIS instance. When you run the project from the IDE, a local Kestrel server is created, which hosts both the Cloud App and the Web APIs. This Kestrel only lives as long as the Console Window that appears, so when you close it, the server is stopped. This means you are no longer able to access nor the Cloud App installation page, nor the Web APIs.

If you want it to behave like it used to, you should select External deployment, and specify your local IIS instance as a destination. Please note that you will need to have Web Deploy installed in your machine for this to work.

 

Please see the following documentation page which relates to this: https://docs.appeon.com/ps2022r2/Configuring_the_server_profile.html

 

Regards,
Francisco

Comment
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.