WEB 程式 的兩個問題的解決!

來源:互聯網
上載者:User

1. HTTP 錯誤 404.2 - Not Found. 由於 Web 服務器上的“ISAPI 和 CGI 限制”列表設定,無法提供您請求的頁面.解決辦法:IIS的根節點->右側“ISAPI和CGI限制”->把禁止的DotNet版本項設定為允許。

2.Server Error in '/ICDelay' Application.

Parser Error

Description:
An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not create type 'Monitoring.RawDataHandler'.

Source Error:

Line 1:  <%@ WebHandler Language="C#" CodeBehind="RawDataHandler.ashx.cs" Class="Monitoring.RawDataHandler" %>

Source File:
/ICDelay/Monitoring/RawDataHandler.ashx    Line:
1

經查是由於發布的應用程式,沒有放在建立虛擬目錄的根目錄中,而是放在了目錄下面的又一個目錄,然後是 bin目錄。

解決辦法。

 將要發布的應用程式中的
bin 檔案夾剪下出來,放置到上一級目錄就可以解決此問題。

標記一下。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.