Base solution for your next web application
Open Closed

the server responded with a status of 405. #4036


User avatar
0
velu created

Hi,

Hosted environment: AMAZON WEB SERVICES (IIS) DB: Oracle

Error: (On Deleting User) <span style="color:#FF0000">Failed to load resource: the server responded with a status of 405 (Method Not Allowed)</span>

Error: (Setting Saving) PUT <a class="postlink" href="http://ec2-13-126-42-145.ap-south-1.compute.amazonaws.com:8080/api/services/app/TenantSettings/UpdateAllSettings">http://ec2-13-126-42-145.ap-south-1.com ... llSettings</a> 405 (Method Not Allowed)

Please help me to resolve this issue.

When we try to host app on AWS IIS(Oracle) some feature are not working, But on development machine its work properly.

{
  "ConnectionStrings": {
    "Default": "[ConnectionString]"
  },

  "Abp": {
    "RedisCache": {
      "ConnectionString": "localhost",
      "DatabaseId": -1
    }
  },

  "App": {
    "ServerRootAddress": "http://ec2-13-126-42-145.ap-south-1.compute.amazonaws.com:8080/",
    "ClientRootAddress": "http://ec2-13-126-42-145.ap-south-1.compute.amazonaws.com:8080/",
    "CorsOrigins": "http://ec2-13-126-42-145.ap-south-1.compute.amazonaws.com:8080,http://localhost:8080" <---Will try here all 127 port as well as donmain name
  },

  "Authentication": {
    "Facebook": {
      "IsEnabled": "false",
      "AppId": "",
      "AppSecret": ""
    },
    "Google": {
      "IsEnabled": "false",
      "ClientId": "",
      "ClientSecret": ""
    },
    "Microsoft": {
      "IsEnabled": "false",
      "ConsumerKey": "",
      "ConsumerSecret": ""
    },
    "JwtBearer": {
      "IsEnabled": "true",
      "SecurityKey": "moneyguru_8CFB2EC534E14D56",
      "Issuer": "moneyguru",
      "Audience": "moneyguru"
    }
  },

  "Recaptcha": {
    "SiteKey": "6LfD-wUTAAAAACULAVXvL61K0w02RIsjhI8EyiS-",
    "SecretKey": "6LfD-wUTAAAAADm3h7vomd9FtaAlAwexki29BtXC"
  },

  "IdentityServer": {
    "IsEnabled": "false",
    "Clients": [
      {
        "ClientId": "client",
        "AllowedGrantTypes": [ "password" ],
        "ClientSecrets": [
          {
            "Value": "def2edf7-5d42-4edc-a84a-30136c340e13"
          }
        ],
        "AllowedScopes": [ "default-api" ]
      },
      {
        "ClientId": "demo",
        "ClientName": "MVC Client Demo",
        "AllowedGrantTypes": [ "hybrid", "client_credentials" ],
        "RequireConsent": "true",
        "ClientSecrets": [
          {
            "Value": "def2edf7-5d42-4edc-a84a-30136c340e13"
          }
        ],
        "RedirectUris": [ "http://openidclientdemo.com:8001/signin-oidc" ],
        "PostLogoutRedirectUris": [ "http://openidclientdemo.com:8001/signout-callback-oidc" ],
        "AllowedScopes": [ "openid", "profile", "default-api" ],
        "AllowOfflineAccess": "true"
      }
    ]
  },

  "Payment": {
    "PayPal": {
      "Environment": "sandbox",
      "BaseUrl": "https://api.sandbox.paypal.com/v1",
      "ClientId": "",
      "ClientSecret": "",
      "DemoUsername": "",
      "DemoPassword": ""
    }
  }
}

Thanks


2 Answer(s)
  • User Avatar
    0
    velu created

    Hi,

    After recovering WEBDAV, Its work for me.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :)