WCF gets Access denied when the consumer try invoke a WCF service calls hosted on Virtual Machine

前端 未结 2 1196
伪装坚强ぢ
伪装坚强ぢ 2021-01-20 07:32

Problem

System.ServiceModel.Security.SecurityAccessDeniedException : Access is denied.

Relevant Stack lines (r

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-20 08:03

    This is a System.ServiceModel.Security exception so it is probably not a firewall or IIS problem.

    Try removing the following code from the client:

       
         
           
         
       
    

    And the following code from the server:

        
          
        
    

提交回复
热议问题