Installing .net framework 3.5 - windows

When I am installing SQL Server 2008 R2 on Windows 8.1 there was an error saying download and install .net framework 3.5 (including 2.0 and 1.0)
And when I'm trying to install .net framework 3.5 from command prompt with following command,
C:\Windows\system32>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
/Limit Access /Source:c:\Windows\Logs\DISM\dism.log
I got the error
Deployment Image Servicing and Management tool
Version: 6.3.9600.16384
Image Version: 6.3.9600.16384
Enabling feature(s)
[===========================65.8%====== ]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
Please help me.......

.NET framework 3.5 and 4.5 are parts of windows 8. so you have to add it using the windows features as described below :
go to your control panel -> Programs and features -> Turn windows features on or off
tick the check box .NET framework 3.5

some time the two KB not show up. the only way to uninstall those two KB is download tools from https://support.microsoft.com/en-us/kb/3005628
after remove those two KB. the 0x800f081f will gone.

In my case I had to update with latest patches (optionals also) the Operating System.
Then I added the W2012 dvd to disk D
And finally run the command (as administrator):
dism /online /enable-feature /featurename:NetFX3 /all /Source:D:\sources\sxs /LimitAccess

Related

Installing dot net 1.x on Windows 2012

I'm trying unsuccessfully to install the "Windows Hosting Bundle" used by a legacy web application with dot net core 1.0.x on one of our server running Microsoft Windows 2012 R2 Standard.
I am using the installer found at this link here:
https://dotnet.microsoft.com/en-us/download/dotnet/1.0
The installer completes without any errors and I noticed that the bundle goes into the local folder:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
When I run the command "dotnet --list-runtimes" from the prompt, I don't see the runtime listed in the output (and the web application hosted on IIS fail to start).
I am assuming it is not "registered" correctly or?
Thank you all

.net framework 3.5 installation error code 0x800f0950 in windows server 2019

hi friends any know how to fix windows server 2019 .net frameworks 3.5 installing error the error code is 0x800f0950
I had to use the hammer :(
Go to Windows Insider Program and download a copy of Windows 10
Right click on the .iso file and select "Mount"
Check the letter of the driver that was mounted (Normally is D: but can be somethign else on your computer)
Now open an Administrator CMD Terminal and type:
Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess
Set D: or whatever letter according to the letter where your .ISO was mounted

Install Windows Update file (*.msu) without having Windows update service activated

I want to install a specific Windows Update file (.msu) on a device which is running on Windows 7 embedded. The msu file is available and the automated installation is running the right commands, but I have a problem:
On the device, the Windows update service is disabled. This is a requirement from the device image, this service should not be activated (not even for the time of the installation). If I try to install the msu file without this service, an error occurs "The service cannot be started, either because it is disabled or ...".
My question is : Does anyone know a possibility to install a msu file without having the Windows Update Service enabled?
From comment:
Using DISM.exe works if the right command is used.
Additionally, it is important that MSU files cannot be installed using DISM.exe with /Online mode.
You have to unpack the msu file, the resulting *.cab file can then be installed using DISM.exe without enabled Windows update service. See How to use DISM to install a hotfix from within Windows
I'll quote the blog post here:
The purpose of this blog is to give you the steps to install a hotfix
(or any other “package”) on the currently running operating system
using the Deployment Image Servicing and Management (DISM) command.
...
The command-line switch to install a package is “/Add-Package.”
... the file name is “Windows6.1-KB976571-v2-x64.msu.”
... you would assume that following
syntax would work:
DISM.exe /Online /Add-Package /PackagePath:c:\kb976571\Windows6.1-KB976571-v2-x64.msu
You will see the following snippet if you review the file
c:\windows\logs\dism\dism.log:
...
2010-09-02 20:33:58, Error DISM DISM Package Manager: PID=7116
DISM does not support installing MSU files online. –
CMsuPackage::Install(hr:0x80070032)
...
The answer is found in defining what a Microsoft Update Standalone
Package (MSU) file is and how you would do this in the previous
command-line tool, Package Manager (Pkgmgr.exe).
You had to extract the contents of a MSU file and instead use the .CAB
file of the package in order to install or uninstall using the Package
Manager tool
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;940410).
So try this approach:
...
Use the following command to extract the contents of the MSU file:
Expand –F:* c:\kb976571\Windows6.1-KB976571-v2-x64.msu c:\temp\976571
... multiple files, which included the Windows6.1-KB976571-v2-x64.cab
file.
Now try the following command:
...
DISM.exe /Online /Add-Package /PackagePath:c:\temp\976571\Windows6.1-KB976571-v2-x64.cab
... (or) ...
start /wait DISM.exe /Online /Add-Package /PackagePath:c:\temp\976571\Windows6.1-KB976571-v2-x64.cab /Quiet /NoRestart

WINDOWS APP DEVELOPMENT

I have just started Windows Application Development and have installed Visual Studio 13 and Microsoft sdk 8.I am experiencing problems in Deploying the the app on the emulator.It says that Hyper V is not enabled on my pc. When i searched this error on the internet i found out thAt hyper v is windows 8.1 pro only feature and i have windows 8.1 single language and i don't want to upgrade because of monetary reasons.
So i just to know is there another way through which i can proceed app development on my computer either by using another emulator or any other way possible.
I read about oracle vm also but couldn't figure out to connect it to my visual studio 2013.
You could develop on a VirtualBox virtual machine which has a trial version of Windows 8 installed. You install the trial Windows 8, Visual Studio and SDKs on the VM, and do all development there. It's slower, but it works for us.
To make the creation and maintenance of the virtual machine image easier, there are some things you can do. First, start with a vm image from the IE team. Next you can install Chocolatey and find and install packages for Visual Studio and the SDKs you need. If you use source control and use these technologies, provisioning a new development VM should become very quick.
The recipe I use to make development Windows boxes goes something like this:
On your machine
Install Chocolatey
In elevated Powershell: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Run elevated: choco install virtualbox
Download Win8.1 virtual box image and run it
On the Win8.1 VM
Install Chocolatey (as above)
Run the following in an elevated command to provision:
choco install virtualbox.extensionpack
choco install visualstudio2013professional
choco install windows-sdk-8.1
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

Install AppFabric On windows 8

I'm trying to install AppFabric 1.1 on Windows8.
It setup asks for .net framework 3.5.
Windows 8 is coming with .net framework 4.5.
Why does it ask for .net framework 3.5 ?
What I should do in order to install AppFabric?
thanks
Now you can install it with .net framework 4.5. .Here you go:
http://www.microsoft.com/en-us/download/details.aspx?id=27115
Run the following from an elevated command prompt:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
See this link for more details: http://msdn.microsoft.com/en-us/library/hh506443.aspx

Resources