关于网上下载的asp.net论坛源码问题???

来源:百度知道 编辑:UC知道 时间:2024/05/10 12:16:48
我在网上下载了许多的源码
打开后
用IIS浏览
总是提示下面这个错误
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 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="Windows" />

请问这是怎么回事,我自己做的ASP.NET在IIS浏览就没事,为什么从网上下载就不行,我已经把连接字符给改了,和我自己做的页面的连接字符一样
大虾帮帮忙吧,怎么办啊!!~!~1
虚拟目录我已经设好,权限全部的打开。

感觉还是路径不对的问题.把这个目录设置成应用了?

根目录的web.config文件中这个行有问题
<authentication mode="Windows" />
把windows改为from