繁体   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