[英]Request failed with http status 403 forbidden -Webservice-while calling the service via iis
Iam a beginer in c# .currently iam working on a api in which the request AND response are working properly(Visual studio) But when it was published in the same pc's iis(iis 7) one error is getting AS " the request failed with http status 403 forbidden" .Api uses ssl certificate also. 我是C#的初学者。目前,我正在一个API上工作,在该API中,请求和响应都可以正常工作(Visual Studio),但是当它在同一台PC的iis(iis 7)中发布时,出现一个错误,即显示为AS“请求失败,出现http状态403禁止”。Api也使用ssl证书。 Whats wrong? 怎么了? Any help would be appreciated. 任何帮助,将不胜感激。
It depends on what user is being used for the service and whether that user is being allowed authentication. 这取决于正在使用哪个用户的服务以及是否允许该用户进行身份验证。 You left out a lot details out about your IIS configuration. 您省略了有关IIS配置的许多详细信息。 Out of the box, IIS rarely serves ASPX without some adjustments. IIS开箱即用,很少需要对ASPX进行一些调整。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.