A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
Hi @Alexander Krenz ,
I noticed that in a customer environment the file "C:\Program Files\Microsoft System Center\Orchestrator\WebApi\web.config" was overwritten at the time UR2 was installed.
Perhaps you can recover this file from backup (?).
The content should look like this:
<?xml version="1.0" encoding="utf-8"?> <configuration> <location path="." inheritInChildApplications="false"> <system.webServer> <cors enabled="true" failUnlistedOrigins="true"> <add allowCredentials="true" maxAge="7200" origin="http://localhost:82"> <allowMethods> <add method="GET"/> <add method="PUT"/> <add method="POST"/> <add method="PATCH"/> <add method="DELETE"/> </allowMethods> <allowHeaders allowAllRequestedHeaders="true"/> </add> <add allowCredentials="true" maxAge="7200" origin="http://sco2022:82"> <allowMethods> <add method="GET"/> <add method="PUT"/> <add method="POST"/> <add method="PATCH"/> <add method="DELETE"/> </allowMethods> <allowHeaders allowAllRequestedHeaders="true"/> </add> </cors> <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified"/> </handlers> <aspNetCore processPath="dotnet" arguments=".\Orchestrator.WebApi.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess"> <environmentVariables> <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production"/> <environmentVariable name="Database__Database" value="Orchestrator"/><environmentVariable name="Database__Address" value="SCO2022\SC2022"/><environmentVariable name="Database__Trusted_Connection" value="true"/></environmentVariables> </aspNetCore> </system.webServer> </location> </configuration> <!--ProjectGuid: 2b28e03a-bff3-4fa9-98ee-fd2db7d151d6-->
In line "<add allowCredentials="true" maxAge="7200" origin="http://localhost:82">" "origin="http://localhost:82"" was missing and another XML-Node like "<add allowCredentials="true" maxAge="7200" origin="http://YourHostnameHere:82">"
Regards
Stefan