HTTP错误503.服务在IIS中不可用? [英] HTTP Error 503. The service is unavailable in IIS?
问题描述
我在此路径C:\ inetpub \ wwwroot \ MyWebAPI中发布了Web Api(框架4.5)
I published my Web Api (framework 4.5) in this path C:\inetpub\wwwroot\MyWebAPI
在IIS中,我将此文件夹转换为应用程序
In my IIS i converted this folder to an app
当我尝试访问此URL时 http://localhost/MyWebAPI/api/client/1 出现一条消息
When i try to access this URL http://localhost/MyWebAPI/api/client/1 a message appears
服务不可用
Service Unavailable
HTTP错误503.服务不可用.
HTTP Error 503. The service is unavailable.
为什么?
我的应用程序池设置为停止",我将其打开,但它又回到了停止"
My App Pool is set to be "STOP", i turn it on but it goes back to "STOP"
推荐答案
我找到了解决方法
- 在树名下单击具有您的计算机名称的应用程序池
- 在右侧,单击单击高级设置",
- 在流程模型中,将加载用户配置文件"更改为false
- 开始应用,然后重新启动IIS
错误肯定会改变,就我而言,错误变成了这个错误
The error will surelly change, in my case the error changed to this one
配置错误:无法在此路径上使用此配置部分.当节锁定在父级时,会发生这种情况.锁定是默认情况下(overrideModeDefault ="Deny"),或由具有overrideMode ="Deny"或旧版的位置标记allowOverride ="false"."
"Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false"."
我在这里找到了其他问题的解决方案 IIS-此配置部分不能在此路径上使用(配置锁定?)
I have found the solution for this other problem here IIS - this configuration section cannot be used at this path (configuration locking?)
这篇关于HTTP错误503.服务在IIS中不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!