1. Monica Petersen
  2. PowerServer
  3. Tuesday, 9 April 2024 20:44 PM UTC

Hi All,

I'm trying to deploy a PowerServer app to an IIS server using PS 2022 R3 build 22.2.0.3289. 

 

I've had this app working on this server using earlier versions of PowerServer, but I'm getting the following error:

I went to https://docs.appeon.com/ps/troubleshooting_guide/Session_creation_failed.html#Not_Found_404, but the 2 suggestions don't help.  I don't see a problem in the URL, and I haven't added a new site.

I looked a the IIS logs, and it reiterates the error I received above:

2024-04-09 20:23:12 10.0.0.7 POST /Abio_daysheet_cloud_api/api/ServerApi/CreateSession - 443 - 172.218.227.244 - - 404 0 0 15

My question is, should there be a subdirectory api/serverapi?  Those don't appear to be created as part of the deployment package.

Thanks in advance,

Monica

 

Accepted Answer
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 April 2024 21:33 PM UTC
  2. PowerServer
  3. # Permalink

Hi Monica,

 

How do you deploy your project to the server?

 

Regards,
Francisco

Comment
  1. Monica Petersen
  2. Tuesday, 9 April 2024 21:51 PM UTC
To an external folder. I've tried it as a zipped file and as an executable installer, to see where the installer thought the files should go.

  1. Helpful
  1. Logan Liu @Appeon
  2. Wednesday, 10 April 2024 03:00 AM UTC
Hi Monica,

Why do you add "Abio_daysheet_cloud_api" in the Web API site URL? Is this an IIS subapplication? If there is no sub-app, you can remove "Abio_daysheet_cloud_api" from the Web API site URL and try again.

Have you checked the IIS web.config file which can affect the Web API URL? Refer to: https://docs.appeon.com/ps2022r3/Is_web.config_mandatory.html and https://docs.appeon.com/ps2022r3/How_is_web.config_generated.html

Regards, Logan
  1. Helpful
  1. Monica Petersen
  2. Wednesday, 10 April 2024 16:22 PM UTC
Thank you Logan! removing "abio_daysheet_cloud_api" from the URL fixed the problem.
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.