1. Shenbagam Balakumar
  2. PowerServer
  3. Monday, 6 May 2024 16:06 PM UTC

Hi Team,

I created the PowerServer project and I deployed the Project in IIS Server(Local).
We ran the application url and it's working fine.
Now we tried to implement the Azure AD B2C in the PowerServer Project.
For this case, we added the Authorization Function and Modified the Authentication.json file( Added instance, domain, TenantId and clientID) as per the guidelines in Appeon documentation. [https://docs.appeon.com/ps2022r2/Azure_Active_Directory_B2C.html].
We published the ServerAPI to IISProfile.
We Build and deployed the project. We tried to Run the Project we are getting the Session creation failed. Cause: Internal Server Error (HTTP status code: 500).

---------------------------
Throwable
---------------------------
Session creation failed.
Cause: Internal Server Error (HTTP status code: 500). (Web API: http://localhost:81/appname_API/api/ServerApi/CreateSession).
Learn more at: https://docs.appeon.com/ps/troubleshooting_guide/Session_creation_failed.html
---------------------------
OK
---------------------------


we followed the solution steps as given in the below link. But Still, we are facing the same issue.
https://docs.appeon.com/ps/troubleshooting_guide/Session_creation_failed.html#Internal_Server_Error_500

Please let us know, If anything that we missed.

Thanks,
Shenbagam Balakumar.

Logan Liu @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 7 May 2024 02:08 AM UTC
  2. PowerServer
  3. # 1

Hi Shenbagam,

Internal Server Error (HTTP status code: 500) usually means a Server-side error.

Please check the error message in the log file. Refer to: Configure the log settings - - PowerServer 2022 R3 Help (appeon.com)

Or change Deploy - Basic - Target run mode to "Within the IDE", then deploy and run the app, and check the error on the console.

Regards, Logan

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.