Method not allowed when run in local iis

Closed
0
0

Hi,

I have a widget that contains devexpress datagrid,

Here is my datasource declaration

 dataSource: wisej.web.DesignMode ? null : 
          DevExpress.data.AspNet.createStore({
              key: "ID",
              loadUrl: url + "&action=load",
              insertUrl: url + "&action=insert",
              updateUrl : url + "&action=update"
              
        }),
When I run it with IIS Express with this URL http://localhost:2676/, update is okay, but when I set it to use this URL http://localhost/SampleGrid, 
I get the following error, 

XHR PUT http://localhost/SampleGrid/postback.wx?sid=7806f144-f03c-eb34-dd7d-c200ad40924a&x=ewAiAGkAZAAiADoAIgBpAGQAXwA0ACIAfQA=&action=update[HTTP/1.1 405 Method Not Allowed 8ms]

To demonstrate the actual scenario, please see attached project.

 

Here is the link https://we.tl/t-hlAD3BwHly

 

Thank you.

 

 

  • You must to post comments
0
0

I found the solution already, thanks.

  • You must to post comments
0
0

The error is coming from IIS. It’s not a Wisej issue.

  • You must to post comments
0
0

I tried using POSTMAN, it gives me the same error, please see attached image.

 

 

 

 

  • You must to post comments
0
0

Hi,

After searching I found this link

https://supportcenter.devexpress.com/ticket/details/t854514/datagrid-the-iis-8-5-put-405-method-not-allowed-error-occurs-on-an-attempt-to-send-a

Excerpts:

Updated:

Thank you for the update. The “method: put. method not allowed.(405)” error is a generic HTTP error that occurs on the server side and it is not related to our components. Our components are client-side and we do not have any control under the server implementation.

Thanks.

 

  • You must to post comments
0
0

Hi,

But I noticed when I set the URL to webservice not using this.getPostbackUrl(), it’s working fine. I tried the suggestion from stackoverflow, but it’s not working.

 

Thanks.

  • You must to post comments
0
0

Hi Glenn,

this does not seem to be a Wisej issue.

Find more information here:

https://stackoverflow.com/questions/6147181/405-method-not-allowed-in-iis7-5-for-put-method

Best regards
Frank

  • You must to post comments
Showing 6 results