我对 IIS 和 ASP.NET 很陌生。我只将它用作我需要使用它的脚本。我已经将 IIS 安装到我的 W7 机器上并将其全部设置为使用 ASP。
但是,当我访问脚本时,我只会收到以下错误:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 34: <globalization culture="en-GB" uiCulture="en-GB"/>
Line 35: <httpRuntime executionTimeout="3600" maxRequestLength="104856"/>
Line 36: <sessionState mode="InProc" cookieless="false" timeout="720"/>
Line 37: <compilation debug="true" targetFramework="4.0">
Line 38: <assemblies>
正如我所说,我对此很陌生,我发现了一些帖子,其中说做这个和另一个,但我不知道如何实施修复。如果有人能给我一步一步的指导或指出我这样的事情的方向,那就太好了。
干杯