Starts in:
2 DAYS
11 HRS
0 MIN
26 SEC
Starts in:
2 D
11 H
0 M
26 S
Open Closed

CORS Error #405


User avatar
0
gvnuysal created
  • ABP Framework version: v3.1.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hello support, When I upload the project to IIS, I get a CORS error in Update and Delete operations, but I do not get an error in the Insert process. However, http: // localhost: 4200 is written in the settings file of the project.

Access to XMLHttpRequest at 'http://localhost:7878/api/lepton-theme-management/settings' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


2 Answer(s)
  • User Avatar
    2
    liangshiwei created
    Support Team Fullstack Developer

    See https://mozartec.com/asp-net-core-error-405-methods-not-allowed-for-put-and-delete-requests-when-hosted-on-iis/

  • User Avatar
    0
    gvnuysal created

    you are awesome.thanks your link.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06