Enabling CORS on IIS server of version 7 and 10?RSS

2 replies

Last post Jan 04, 2019 09:05 AM by Jalpa Panchal

  • Enabling CORS on IIS server of version 7 and 10?

    Dec 05, 2018 12:37 PM|HeinvanBeers|LINK

    How do I enable CORS on IIS server of version 7 and on version 10?
    According to documentation that I have read, it should be sufficient to include Access-Control-Allow-Origin = "*" in the webconfig (after installing cors.exe).

    When we now call some php script via the chrome webbrowser, everything works fine, but when we call the same script via an android device, we do not get a connection.

    What are we doing wrong?

  • Re: Enabling CORS on IIS server of version 7 and 10?

    Dec 05, 2018 07:20 PM|lextm|LINK

    HeinvanBeers

    According to documentation that I have read, it should be sufficient to include Access-Control-Allow-Origin = "*" in the webconfig (after installing cors.exe).

    What documentation and what cors.exe? 

    Lex Li
    https://lextudio.com
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Enabling CORS on IIS server of version 7 and 10?

    Jan 04, 2019 09:05 AM|Jalpa Panchal|LINK

    Hi HeinvanBeers,

    Can you please explain your requirement in detail? And share your web.config file setting.

    Regards,

    Jalpa.

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.