Tags: WCF, restful
When the restful service is released, the following error occurs when accessing the. SVC file:
IIS specifies the authentication scheme "integratedwindowsauthentication, anonymous", but binding only supports one authentication specification. Valid authentication schemes are digest, negotiation, NTLM, basic or anonymous. Change the IIS settings so that only a single authentication scheme is used.
(IIS specified authentication schemes 'integratedwindowsauthentication, anonymous', but the binding only supports specification of exactly one authentication scheme. valid authentication schemes are digest, negotiate, NTLM, basic, or anonymous. change the IIS settings so that only a single authentication scheme is used .)
The reason is that the disk requires a given permission because it is in NTFS format. The solution is to remove the integrated Windows authentication for SVC files, or grant the IIS Anonymous access account a given permission.
Tags: WCF, restful