当前位置首页 > IIS知识

在VS2013中强制IISExpress应用程序池使用经典模式在VS2013中强制IISExpress应用程序池使用经典模式

阅读次数:353 次  来源:admin  发布时间:
在

%userprofile%\documents\iisexpress\config\applicationhost.config

中

将

<siteDefaults>
<logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" />
<traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" />
</siteDefaults>
<applicationDefaults applicationPool="Clr4IntegratedAppPool" />
<virtualDirectoryDefaults allowSubDirConfig="true" />

改为

<siteDefaults>
<logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" />
<traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" />
</siteDefaults>
<applicationDefaults applicationPool="Clr4ClassicAppPool" />
<virtualDirectoryDefaults allowSubDirConfig="true" />
  <site name="MMX.Shop.GoodsWeb" id="20">
                <application path="/" applicationPool="Clr4ClassicAppPool">
                    <virtualDirectory path="/" physicalPath="F:\GoodsWeb" />
                </application>
                <bindings>
                    <binding protocol="http" bindingInformation="*:49128:localhost" />
                </bindings>
            </site>
上一篇:npmrunbuild打包后,如何运行在本地查看效果(Nginx服务)
下一篇:IIS7.0Appcmd命令详解