I have a client who will be running several apps in PowerServer 2021 and thus I want to setup IIS with a multiple-site configuration. To this end, I went through the tutorials in an effort to get this properly configured. Here is what I've done:
- created inbound rule for port 81 on web server running IIS (Windows Server 2016)
- configured PowerServer project in client app
- CAL installed ok
- set web api url on Web APIs tab to https://dev.server.com:81/Testsite (see attached)
- Database config (SQL Server) works fine
- Deployed PS project with no errors
- created second web site called 'Testsite' in IIS and linked it to port 81 (https://docs.appeon.com/ps2021/Creating_an_IIS_website.html). The root path is C:\inetpub\testsite_root
- followed instructions for publishing web api using file system (https://docs.appeon.com/ps2021/Using_the_File_System_method.html) and copied all files to C:\inetpub\testsite_root (see attached)
- launchsettings.json has the same url as shown in #4 above (see attached)
When I launch the CAL in my browser, the app starts loading but eventually fails with the CreateSession error -- see attached. Can someone offer some advice on how to get past this error?
Thanks, Tom
1) Before using https://dev.server.com:81/Testsite I tried it with https://dev.server.com:81 but that didn't work either.
2) web hosting bundle has been installed
3) 'unhealthy' was returned when I tried this
4) ok -- makes sense
Tom