簡體   English   中英

IIS 無法安裝自定義模塊

[英]IIS can't install custom module

我一直在嘗試從經理那里安裝一個自定義模塊到 IIS 上。 我在 C# 中對其進行了編碼。

我可以將它加載到我創建的測試 ASP.NET 應用程序中。 我將它復制到 bin 文件夾中,並將這一行添加到 web.config 中:

<system.webServer>
  <modules>
    <add name="Module" type="IISExtend.Module"/>
  </modules>
</system.webServer>

有用。


要將其添加到 IIS,我嘗試了:

  1. Put the output DLL into the bin folder of the root of the website, like this: https://i.gyazo.com/14b54742cc758d6083a9787df8a8cbe1.png

  2. Add it in the module list like this: https://i.gyazo.com/b686a505c8d4785ffb63d5c384580ac5.png But i get this warning: https://i.gyazo.com/b137ecca9369cc53018aecd7409d8737.png

我已經嘗試手動編輯配置文件,簽署 dll,將其添加到全局存儲,更改 .NET 版本,它沒有任何改變。 該模塊未加載,並且似乎未安裝。

這是我的 class 的確切名稱: https://i.gyazo.com/10973b6852e1d1de139641905bee2b19.png

非常感謝您的幫助:)

我找到了解決方案。 我安裝了很多 windows 功能,關於 ASP.NET 和 ASP.NET 核心在 Z5DA5ACF461B4EFB7E76EC86126 部分下。 我工作。

謝謝您的幫助。

暫無
暫無

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

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