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

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

在

%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>

 

你可能感兴趣的:(在VS2013中强制IIS Express应用程序池使用经典模式)