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.
I found the solution already, thanks.
The error is coming from IIS. It’s not a Wisej issue.
I tried using POSTMAN, it gives me the same error, please see attached image.
Hi,
After searching I found this link
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.
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.
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