The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'

前端 未结 6 1602
孤街浪徒
孤街浪徒 2020-12-08 19:01

Few days ago I had quite a headache with authentication problems when using Windows authentication between client and wcf web service. The error I was getti

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 19:46

    I have upgraded my older version of WCF to WCF 4 with below changes, hope you can also make the similar changes.

    1. Web.config:

    
          
            
              
                
                  
                
              
            
          
          
            
              
                
                  
                
              
              
            
          
          
            
              
                
                
                
                
              
            
          
          
            
          
          
        
    

    2. App.config:

        
        
          
            
              
              
                
              
            
          
        
        
          
        
      
    

提交回复
热议问题