我在IIS6上运行的现有网站只有静态HTML页面。我有一个页面,有人可以通过电子邮件发送他们的信息,但希望使用ASP.NET编写此页面。
我之前从未混合过HTML和ASP.NET,并且想过如果我从ASP.NET发布了我需要的页面并将其放在现有网站的根目录中,这将是我所需要的,但我收到的是页面尝试提交到ASP.NET页面时出错。
我收到错误以下错误:
感谢您的帮助!
=============================================== =============
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 44: ASP.NET to identify an incoming user. Line 45: --> Line 46: <authentication mode="Windows" /> Line 47: <!-- Line 48: The <customErrors> section enables configuration
=============================================== =============