Solved

.net 3.5 fails on server 2012

Posted on 2014-09-19
8
306 Views
Last Modified: 2014-10-01
I'm struggling to install .net 3.5 via sever manager add roles/features

running Dism /online /enable-feature /featurename:NetFx3 /All /Source:d:\sources\sxs /LimitAccess gives error 0x800f081f which I believe implies it cannot see the source and yet if I enter d:\sources\sxs into File Explore it takes me into the folder so that would indicate the path is fine
0
Comment
Question by:andrew_2706
8 Comments
 
LVL 33

Expert Comment

by:it_saige
ID: 40332482
Where are you running dism.exe from - i.e. C:\Windows\Syswow64 or some other location?

Are you using an Administrator command prompt?

Have you tried explicitly calling dism.exe from the System32 directory?  

%systemroot%\System32\Dism.exe /online /enable-feature /featurename:NetFx3 /All /Source:d:\sources\sxs /LimitAccess

If that does not work, try repairing the component source:

%systemroot%\System32\Dism.exe  /online /cleanup-image /scanhealth
%systemroot%\System32\Dism.exe /online /cleanup-image /restorehealth

-saige-
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40332843
you could use powershell
Add-WindowsFeature -Name NET-Framework-Core
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 40333585
Welcome to a very special level of hell. The new "features on demand" functionality is very patch-level sensitive. Some patches cause the system to see source media as an older version and that DVD no longer works. Aggravating to no end.

 You have three choices. First, don't specify a source and let the server use Microsoft Update. For this to work the server has to see Microsoft Update and not have policies to use WSUS. I have done this in the past..mdisable WSUS GPOs, etc. Oh, and hope that MU has the latest bits too. There have been weeks where there was ...lag.

 Option 2. Grab the WIM from the DVD. Make a list of every installed patch on the existing server. And slipstream the patches into the WIM on a build machine and specify it as the source. This is good for machines that cant access MU or where disabling WSUS/SCCM breaks corporate ITIL standards. I currently use this approach. I have an MDT task sequence that builds a new WIM that I run regularly so I can grab it and use it as a source on any machine (via USB if necessary) and stay change management compliant.

 The third option is to point to another server's windows directory as a source. If the other server I'd at the same patch level and has .Net 3.5, it'll simply grab those bits over the wire..this is faster than MU and easier than building a new WIM ...if you already have a server that meets the requirements. Which can be a big if.

 Yeah, it is a pain. Hopefully the on-demand stuff improves in future iterations. Great idea, fairly broken current implementation
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:andrew_2706
ID: 40336374
The Powershell option failed

Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Users\Administrator> Add-WindowsFeature -Name NET-Framework-Core
Add-WindowsFeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be downloaded.
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. Error: 0x800f0906
At line:1 char:1
+ Add-WindowsFeature -Name NET-Framework-Core
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
    Exception
    + FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsF
   eatureCommand

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}
0
 

Author Comment

by:andrew_2706
ID: 40336530
-saige-

sadly none of your worked either :-(
0
 
LVL 33

Accepted Solution

by:
it_saige earned 500 total points
ID: 40354528
0
 

Expert Comment

by:Good
ID: 40354529
Uninstall this patch: http://support2.microsoft.com/kb/2966828

Run the DISM command: dism /online /enable-feature /featurename:NetFX3 /all /Source:e:\sources\sxs /LimitAccess

Install .Net 3.5 updates from Windows Update.

it worked for me.
0
 

Author Closing Comment

by:andrew_2706
ID: 40354619
Many thanks for seeing the solution and coming back to me.

From http://www.askvg.com/fix-0x800f0906-and-0x800f081f-error-messages-while-installing-net-framework-3-5-in-windows-8/ the only update I had installed was KB2966827 and on removing it worked as it should of.

Cheers
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question