简体   繁体   English

无法安装.Net Framework 4.0

[英]Can't install .Net framework 4.0

I downloaded .Net framework 4.0 "dotNetFx40_Full_x86_x64_SC.exe" on windows server 2008 R2, 64 bit OS and every time i run the exe file i got an error message "an error was encountered unspecified error" 我在Windows Server 2008 R2、64位OS上下载了.Net Framework 4.0“ dotNetFx40_Full_x86_x64_SC.exe”,每次运行exe文件时,我都会收到一条错误消息“遇到错误,未指定错误”

first it run and give me the below: 首先运行,并给我以下内容: 在此处输入图片说明

then this error 然后这个错误

在此处输入图片说明

I figured it out, do the following: 我知道了,请执行以下操作:

  1. in Control Panel --> internet options --> privacy --> settings --> blocking level: make it Low 在控制面板->互联网选项->隐私->设置->阻止级别:将其设置为低
  2. go to this link: http://www.microsoft.com/download/en/confirmation.aspx?id=17851 and install the web installer edition of the .net framework 4.0, there is something with the windows installer that permits the stand alone version to be installed on windows server 2008 R2 转到此链接: http : //www.microsoft.com/download/zh-CN/confirmation.aspx?id=17851并安装.net Framework 4.0的Web安装程序版本,Windows安装程序中有一些允许安装的支架Windows Server 2008 R2上安装的单独版本

Back again... 再次回来...

It appears the simple answer is you don't download stuff on Windows 2008R2. 看来,简单的答案是您不下载Windows 2008R2上的内容。 Use your workstation to download files, then copy them to the server OS. 使用工作站下载文件,然后将其复制到服务器操作系统。

Here's a quote from https://serverfault.com/questions/175924/enable-downloads-on-windows-server-2008-r2 : 这是来自https://serverfault.com/questions/175924/enable-downloads-on-windows-server-2008-r2的报价:

It's a pain in the rear, isn't it? 后面很疼,不是吗? That is an intentional choice on Microsoft's part. 这是微软的故意选择。 There are ways to enable downloads, but wouldn't recommend it. 有多种方法可以启用下载功能,但不建议这样做。 No matter how certain you are of the reputation of the website you're visiting, it's a Server OS and you shouldn't be using it to browse the internet even to download patches, installers, etc. Instead, use your workstation to do your downloading and then copy the files up to the Server for installation. 无论您对所访问网站的声誉有多确定,它都是服务器操作系统,您不应使用它来浏览互联网,甚至不下载补丁程序,安装程序等。而是使用工作站来完成下载文件,然后将文件复制到服务器上进行安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM