SVN からチェックアウトした ASP.Net ソリューションがあります。の下に保存しましたc:\inetpub\solution-name\
。起動しようとしているファイルはc:\inetpub\solution-name\trunk\project-name\Default.aspx
. ブラウザ経由でアクセスするとhttp://localhost/solution-name/trunk/project-name/
、次のエラーが表示されます。
Server Error in '/' Application.
Configuration Error
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 253: </controls>
Line 254: </pages>
Line 255: <roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="AspNetSqlRoleProvider">
Line 256: <providers>
Line 257: <clear/>
この問題は、ファイルのディレクトリ構造に関係している可能性があると思います。inetpub
などの下に複数のソリューションを配置できるようにする必要があるため、構造を変更したくありません。
これを修正するための IIS 構成はありますか?