Andrew Poulos
8/11/2014 4:33:00 AM
On 11/08/2014 11:46 AM, Andrew Poulos wrote:
> If I make an XHR call to
> [server]/projects/test
> IIS returns "HTTP/1.1 405 Method Not Allowed" even though I've edited
> the handler mappings to allow "all" verbs to file or folder.
>
> All the files are on the same server.
>
> If set IIS to do a URL rewrite to temporarily add a trail slash so that
> [server]/projects/test
> becomes
> [server]/projects/test/
> then every browser I test will allow the XHR call to complete (return a
> status of 200). Except for IE.
>
> When I check the developer panel in IE 9 the network pane shows the
> request as pending until it finally returns 12031.
>
> When I check the developer panel in IE 10 the debug pane shows "access
> is denied" when it tries to XHR open
> xhr.open(cfg.method, url, async);
>
> If I put the full URL in
> xhr.open(cfg.method, "[server]/projects/test/default.asp", async);
> then IE allows the XHR call to complete (return a status of 200).
>
> How do I get IE to behave without needing a full URL?
I cleared the cache, cookies... and now IE 10 misbehaves the same as IE 9.
Andrew Poulos