簡體   English   中英

無法為asp.net運行uploadify

[英]Can't run uploadify for asp.net

我從以下位置下載了示例代碼/演示:

http://www.technowise.in/2009/12/uploadify-aspnet-c-vb-examples-demo.html

當我嘗試運行任何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

有人知道為什么會這樣嗎? 我通常可以在此服務器上完美運行asp.net 2.0及以上的Web表單。

出現此錯誤的原因是,您已將web.config放置在子目錄中,並且其中包含應該存在的會話,除非您在iis的此子目錄中定義了新的application / pool asp.net。

從您的問題出發,這是web.config的路徑,但這必須是一個目錄,或者根本不存在,或者刪除不存在的行。

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM