我在下面有一个网站,我想部署另一个 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上开发
如何解决这个问题?