简体   繁体   English

通过iis调用服务时,请求失败,http状态被禁止403 -Webservice-

[英]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.

相关问题 请求失败,HTTP 状态为 401:调用 Web 服务时未经授权 - The request failed with HTTP status 401: Unauthorized while calling web service 请求失败,HTTP状态为401:未授权 - IIS升级 - WebService和Web应用程序 - The request failed with HTTP status 401: Unauthorized - IIS Upgrade - WebService & Web Application nUnit中的代码工作正常,但Windows Service中的代码获得HTTP状态403:调用远程Web服务时被禁止 - Code within nUnit works fine but within Windows Service gets HTTP status 403: Forbidden when calling a remote Web Service HTTP状态403:禁止使用证书对ASP.NET Web服务进行身份验证的异常 - HTTP status 403: Forbidden exception using certificate to authenticate ASP.NET web service 从IIS Express访问远程Web服务导致403被禁止 - Accessing remote web service from IIS Express results in 403 forbidden 调用休息服务时,肥皂服务中的请求格式确定失败 - Request format determination failed in soap service while calling rest service 通过C#禁止错误403模拟请求 - Error Forbidden 403 simulating request via C# Django服务器通过C#登录时返回403 Forbidden - Django server returns 403 Forbidden while logging in via C# 向Twitter API发送请求时被禁止(错误403) - Forbidden (error 403) while sending request to Twitter API 禁止状态代码 403 无法在 wsdl Web 服务上使用 postAsync 方法对多部分数据进行编码? - Status code 403 forbidden unable to encode multipartform data using postAsync method on wsdl webservice?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM