今天公司的同事問我,為什麼同一支程式在自己的電腦OK,部署到Server上會出現下面的錯誤

HTTP Error 404.2 - Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server(转)

我想,沒有錯啊~ 我在這台Server所部署的程式一向都是OK的

看了錯誤的Error page, 發現是ISAPI-4.0_64bit的問題

才發現原來同事所寫的Asp .net是用.net framework 4.0

 

設定的方式如下

1. 進IIS後,選到右下的「ISAPI and CGI Restrictions」

HTTP Error 404.2 - Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server(转)

2. 將ASP .Net v4.0.*的啟用

HTTP Error 404.2 - Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server(转)

解決~ 收工

相关文章:

  • 2021-11-03
  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-07-05
猜你喜欢
  • 2021-09-29
  • 2021-06-25
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案