This is a migrated thread and some comments may be shown as answers.

Load on demand works with WCF in Chrome but not IE under windows auth

1 Answer 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
BitShift
Top achievements
Rank 1
Veteran
BitShift asked on 28 Aug 2014, 11:11 PM
I have a WCF service that I build the list of nodes for a tree.  The service is in the same directory as the website which is using windows authentication.  Everything works fine locally, but when I put the code on a dev server running IIS 7, the tree loads as expected in Chrome, but with IE, I get "...method failed".  Watching the traffic with fiddler:

Locally with IE:
401 requests followed by 200 OK codes.

Request to Dev server with IE
When I expand the tree, there is the 401 request, which prompts for credentials again.  This DOES NOT happen in chrome.  I just see the call to the WCF method and it results in an http 200 OK.

Ive followed the examples in both the documentation and other sources:
http://www.telerik.com/help/aspnet-ajax/treeview-load-on-demand-wcf.html
http://www.slickit.ca/2009/02/wcf-using-iis-and-windows.html

but I am still getting the issue with IE v9 





1 Answer, 1 is accepted

Sort by
0
BitShift
Top achievements
Rank 1
Veteran
answered on 29 Aug 2014, 01:54 PM
Just wanted to let everyone know I got it working.  Turns out all my WCF config settings/bindings etc were correct.  I had both digest AND windows authentication turned on.  Once I ensured that ONLY windows authentication was turned on, IE started playing nice with the WCF call.
Tags
TreeView
Asked by
BitShift
Top achievements
Rank 1
Veteran
Answers by
BitShift
Top achievements
Rank 1
Veteran
Share this question
or