Solved

.net 3.5 fails on server 2012

Posted on 2014-09-19
8
295 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 32

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 78

Expert Comment

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

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
 

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
Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

 

Author Comment

by:andrew_2706
ID: 40336530
-saige-

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now