Cors
This page was created by Hans.karlsen@mdriven.net on 2020-09-11. Last edited by Edgar on 2025-01-20.

To enable coors on IIS - all sites on the machine:

Open the Machineconfig

The Machine.config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\directory

Add this in configuration

<system.webServer>
  <cors enabled="true" failUnlistedOrigins="true">
    <add origin="*" />
  </cors>
</system.webServer>