C# Can';t为asp.net运行uploadify

C# Can';t为asp.net运行uploadify,c#,jquery,asp.net,vb.net,uploadify,C#,Jquery,Asp.net,Vb.net,Uploadify,我已从以下网站下载了示例代码/演示: 当我尝试运行任何aspx文件时,我从服务器上收到以下消息: 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 d

我已从以下网站下载了示例代码/演示:

当我尝试运行任何aspx文件时,我从服务器上收到以下消息:

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 46:             ASP.NET to identify an incoming user. 
Line 47:         -->
Line 48:        <authentication mode="Windows"/>
Line 49:        <!--
Line 50:             The <customErrors> section enables configuration 

Source File: C:\Inetpub\wwwroot\test_uploader\uploadify\web.config    Line: 48 

Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618
“/”应用程序中出现服务器错误。 配置错误 描述:处理服务此请求所需的配置文件时出错。请查看下面的特定错误详细信息,并适当修改配置文件。 解析器错误消息:在应用程序级别之外使用注册为allowDefinition='MachineToApplication'的节是错误的。此错误可能是由于未在IIS中将虚拟目录配置为应用程序造成的。 源错误: 第46行:ASP.NET以识别传入用户。 第47行:--> 第48行:
第49行:之所以出现此错误,是因为您在子目录中放置了一个web.config,并且其中包含应该存在的会话,除非您在iis的子目录中定义了一个新的应用程序/池asp.net

根据您的问题,这里是web.config的路径,但这必须是一个目录,或者根本不存在,或者删除不存在的行

C:\Inetpub\wwwroot\test_uploader\uploadify\web.config 

上载文件的目录是虚拟目录吗<代码>此错误可能是由于未在IIS中将虚拟目录配置为应用程序造成的。其次,IIS\u用户是否对文件夹和文件具有读写权限?