由于工作需要,在IIS服务器上已有一个 ASP.Net 项目网址为 www.XXX.com 现需要在其下面加一个.net项目 网址显示为 www.XXX.com/CRM
- 在IIS原有项目上右击 添加应用程序……;
- 因为新的 应用程序的 web.config 会继承 主目录的 web.config,所以 修改 原有项目的 web.config ,在其
节点外加一节点 ;
即
<location path="." allowOverride="true" inheritInChildApplications="false">
<system.web>
......
</system.web>
</location>