Solved

.net 3.5 fails on server 2012

Posted on 2014-09-19
8
302 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 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 won’t your email signature format correctly?

Struggling to get your corporate email signatures to format correctly? Does the logo keep resizing? Is the text appearing too big? What can you do to prevent this? Find out how you can save your signatures today.

 

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

Make managing Office 365 email signatures a breeze

Are you using Office 365? Having trouble trying to set up email signatures for your users? Getting stressed out managing multiple signatures? Need an easier way to manage? We have a solution for you, try the most-user friendly and powerful signature management tool on the market.

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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