1

その下に Web サイトがあり、別の Web アプリケーションを展開したいと考えています。そこで、ftp サイトにフォルダーを作成し、すべてのファイルをそこにダンプしました。

例:

ここに画像の説明を入力

アプリケーションの default.aspx ファイルにアクセスしようとすると、以下のエラーが発生します

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 33:       </assemblies>
Line 34:     </compilation>
Line 35:     <authentication mode="Forms">
Line 36:       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
Line 37:     </authentication>

ルート サイトの asp.net のバージョンはわかりませんが、asp.net 3.5 で開発しました

これを解決するには?

4

2 に答える 2

1

サブフォルダーを IIS アプリケーションとしてセットアップする必要があります。

于 2012-07-12T15:22:25.417 に答える
1

IISにアクセスして、「OnlineReport」フォルダーがアプリケーションとして構成されていることを確認する必要があると思います

于 2012-07-12T15:22:28.350 に答える