aspnet_regiis.exe不显示任何内容 [英] aspnet_regiis.exe not display anything

查看:91
本文介绍了aspnet_regiis.exe不显示任何内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我一直在尝试使用aspnet_regiis.exe的帮助加密配置节.

我以前从未在此PC上使用过aspnet_regiis.exe,当我键入"aspnet_regiis.exe-?"时会发生什么情况?或v2.0和v4.0的其他任何选项,则控制台不会显示任何消息.甚至没有错误消息.

但是aspnet_regiis.exe可以在V1.1上运行.

有人遇到过吗?能给我一些建议吗?


---更新---
重新安装IIS和.Net框架后,我设法在v2.0.50727上运行它. 但是v4.0.30319仍然存在相同的问题.


谢谢,

Henri

Hi guys,

I''ve been trying to encrypt a configuration section using the help of aspnet_regiis.exe

I never use aspnet_regiis.exe on this PC before, what happen is, when i type "aspnet_regiis.exe -?" or any other options for both v2.0 and v4.0, the console didn''t display any message. Not even an error message.

But aspnet_regiis.exe can run for V1.1.

Anybody encounter this before? Could give me some advices?


--- Updates ---
After re-install IIS and .Net framework, I managed to run it on v2.0.50727.
But I still have the same problem with v4.0.30319.


Thanks,

Henri

推荐答案

可能是您正在尝试将V1.1 ASPNET_REGIIS.EXE用于V2.0或V4.0

.NET Framework的每个版本都包含Aspnet_regiis.exe的唯一版本.由于该工具的每个版本仅适用于其关联的.NET Framework版本,因此请确保使用适当版本的工具来配置ASP.NET应用程序.
参考: MSDN:ASP.NET IIS注册工具(Aspnet_regiis.exe) [ ^ ]

打开命令提示符,然后移至所需的版本框架路径.进入所需的框架文件夹后,您将找到相关的exe并使用它.
It might be that you are trying to use V1.1 ASPNET_REGIIS.EXE for V2.0 or V4.0

A unique version of Aspnet_regiis.exe is included with each version of the .NET Framework. Since each version of the tool applies only to its associated version of the .NET Framework, be sure to use the appropriate version of the tool to configure an ASP.NET application.
Refer: MSDN: ASP.NET IIS Registration Tool (Aspnet_regiis.exe) [^]

Open the command prompt and move to needed version framework path. Once you are in the needed framework folder, you will find related exe, use it.


这篇关于aspnet_regiis.exe不显示任何内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆