Visual Studio 2015で作成したMVC4アプリケーションを「公開」でAzureにFTPでアップロードしました。
/site/wwwroot/の下に直接アップロードすると正しく実行できます。
/site/wwwroot/xxxfolder/の下にアップロードして実行させると、下記のエラーになり、実行できません。xxxFolderはPublish WebダイアログのSite Pathで指定しています。何がまずいのでしょうか。
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:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Source File: D:\home\site\wwwroot\updatedealer1\web.config Line: 28
上記web.configの28行目には「<authentication mode="Forms">」の行があります。
なにか設定する必要があるのでしょうか。