I want to present a solution that works for me.
Editing web.config
First thing is a properly edited web.config file:Just replace 'service - name' and 'endpoint - contract' attributes values (lines 26, 29) with your specific names.
Configuring service on IIS
Next step is to set Windows Authentication for service in IIS settings. On IIS7 it can be done in following way:- Go to: WebSite - Your service - Authentication:
- Disable Anonumous and all others
- Enable Windows Authentication
- Next click on Windows Authentication and then Providers
- Add Negotiate provider
- An important thing is providers order
- NTLM
- Negotiate
No comments:
Post a Comment