Base solution for your next web application
Open Closed

Error 405 on Settings and Permissions save #10532


User avatar
0
chrskrs created

Prerequisites

  • What is your product version? 8.9.2
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version? 8.9.2

Problem

I have a strange problem on my application:

When deloying to my my local IIS everyting works fine, but after deploying to a remote production server (shared hosting) I get the following error in two specific places, (everything else works fine!)

On the website, if I select a user and then edit permissions and click save, or if I select Settings (on admin menu) and click save, I get an Error 405.

Can you please help me solve this issue?

Here are the details of the error on the Settings page

General Request URL: https://test.reedisa.co.za/api/services/app/TenantSettings/UpdateAllSettings Request Method: PUT Status Code: 405 Method Not Allowed Remote Address: 197.81.192.22:443 Referrer Policy: strict-origin-when-cross-origin

Response headers: HTTP/1.1 405 Method Not Allowed Allow: GET, HEAD, OPTIONS, TRACE Content-Type: text/html Server: Microsoft-IIS/8.5 Date: Wed, 18 Aug 2021 10:16:00 GMT Content-Length: 1293

Request headers: Accept: application/json, text/javascript, /; q=0.01 Accept-Encoding: gzip, deflate, br Accept-Language: en-ZA,en-US;q=0.9,en-GB;q=0.8,en;q=0.7 Cache-Control: no-cache Connection: keep-alive Content-Length: 17529 Content-Type: application/json Cookie: Abp.TenantId=2; .AspNetCore.Antiforgery.hsyLiAzeFas=CfDJ8HSCQEEW9DxIhJL04H3heDI9GDSAf6Aj53nGTysNmo2RaBDRYSZIt5fZmx4RjTxTn7dvT_sWs4QbC7JpDraC8DBX2seXDoVdevVRHK3yzqAtyu7dchF45Q0p-qyL7avJ5LGbM8hFS5mqq_U7TA1fNNg; idsrv.session=19nasSseb3DypRHyM_nzxw; XSRF-TOKEN=CfDJ8HSCQEEW9DxIhJL04H3heDJmhDKpgIlbi_6W49RltlrQeouFESvgN8FTfJpDaG1xfML4e-Jjn8yricjTTn5NS3VaOn6ztR4ZhJejCqR6p-aEiCBXSTZJYFBc2zmHJxGF-wKo1BRNGh_E3tzXFr2utnukacNUofb59sOem_svu_tlV362ftJGQHgI2T6dt119rA; .AspNetCore.Identity.Application=CfDJ8HSCQEEW9DxIhJL04H3heDIkGs43dzW5UB5TBcsfJuIk85xqv37558Ccew0dstJUrxIyzzHPfMSOAYbfmbLZYlHeHeq3IFYechUuMpuw5Kwtdx4yniGVd4qVwLVafqbrbMgSQPDaBnEUZc7S23lhXSrDtPECt7QT-T-QbF0Cdp2NUyJCT83m3b_Q-oOrlI3oGcs-r3IqVGUFAZlgERJUDCdHE1yS5H9z3AjSahAAsagpUd3cLv_vj2E4roIWNuIwfYafP1YZ03R7xeyUKNRzCuDJOr2TLDrFcwXTiHvIX9U-LKZ_NDhEltEtBNhCTy5ItYpDqycXKponCq_VWprq9tXwnK2Hzuz5JbhNhoj1PLG2tSE0nWA-u0Jk0fWS9v_368CXEKrX5p8JD8ryR5edVYPbLlQg5kdM5haScrdYTsdVtDDvalYblvS9iLdi0XQceuXqZZCTmGLuv1h-sYahcl7zVUdHfYcR_nd6pdkDc2EGx278_WMSnpwKCvamgjKHoXuNvhj4EI5ieUg3PIjEoX1SrDvoAfORhTqWIO1wvyuwi_nMsOeE3bZQ3Zhv4WyfNTkbn0CVszpTvRsRNRqhKH3ANlzHquNcq1lJ-hB1sJQMMnHjBO5hT9huQi3519tV2f1Y-QHN5g5e980CouGCEsq2bgiJMsrtUWYNB2uZyL-FSwG1I00dEDf_HYq7QMPH9F29bsRcqKmPOZqEu5Ex_7HxNhbrZMqwtfIcae1hRPXXrDnEi76eka93eXhYA6GqceMPac2Wmto0kWrw-FA8BZK3WlMURXYULPMqdoiJslOv3g_-HM_Ft22qTwUjEhUbZUBKR7bsm_ylxkFynBVc-yFFj9r1lgFQgIq61rkG9lwH7ilS0l9qwh5xnbGjGS26APG5bFXyVN1k9Cx39fG_0DTLIPajlBLPGPZlw1tfEFOCUdKiDOl6UoxqDaN14dRYpw DNT: 1 Expires: Sat, 01 Jan 2000 00:00:00 GMT Host: test.reedisa.co.za Origin: https://test.reedisa.co.za Pragma: no-cache Referer: https://test.reedisa.co.za/App/Settings sec-ch-ua: "Chromium";v="92", " Not A;Brand";v="99", "Google Chrome";v="92" sec-ch-ua-mobile: ?0 Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-origin User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 X-Requested-With: XMLHttpRequest X-XSRF-TOKEN: CfDJ8HSCQEEW9DxIhJL04H3heDJmhDKpgIlbi_6W49RltlrQeouFESvgN8FTfJpDaG1xfML4e-Jjn8yricjTTn5NS3VaOn6ztR4ZhJejCqR6p-aEiCBXSTZJYFBc2zmHJxGF-wKo1BRNGh_E3tzXFr2utnukacNUofb59sOem_svu_tlV362ftJGQHgI2T6dt119rA {general: {},…} billing: {LegalName: "", Address: "", TaxVatNo: ""} dataPolicy: "<h1 style="color: rgb(0, 0, 0); font-family: &qu email: {} externalLoginProviderSettings: {facebook: {}, google: {}, twitter: {}, microsoft: {}, openIdConnect: {},…} general: {} ldap: {} otherSettings: {} security: {useDefaultPasswordComplexitySettings: true, passwordComplexity: {RequiredLength: "3"},…} userManagement: {AllowSelfRegistration: "true", UseCaptchaOnRegistration: "true", TimeOutSecond: "30",…}


1 Answer(s)