-
0 votesanswersviews
IIS7 .NET x64 aspnet_regiis -i 导致类未注册错误
我们在 Windows Server 2008 R2 SP1 上运行 IIS7,网站在.NET 2.0 上运行。网站工作正常,但全局主题不起作用。我继续尝试在 Framework64 目录中执行 aspnet_regiis -c 并得到了 An error has occured: 0x80040154 Class not registered. The error indicates that... -
28 votesanswersviews
使用ASPNet_Regiis加密自定义配置部分 - 你能做到吗?
我有一个带有自定义配置部分的Web应用程序 . 该部分包含我想要加密的信息(希望使用ASPNet_RegIIS而不是自己做) . Web.Config中: <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2... -
2 votesanswersviews
如何设置使用aspnet_regiis创建的RSA密钥的密钥大小?
我使用以下命令创建了一个客户RSA密钥容器(用于加密web.config中的连接字符串): aspnet_regiis -pc“TestKeys”-size 2048 -exp 然后我将密钥导出到xml文件并用它初始化RSACryptoServiceProvider的实例,以便我可以检查密钥大小肯定是2048.但是,使用下面的代码,密钥大小显示为1024 . using (RSACryptoSer...