Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

.net 3.5 fails on server 2012

Posted on 2014-09-19
8
Medium Priority
?
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 34

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 83

Expert Comment

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

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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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 34

Accepted Solution

by:
it_saige earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Determining the an SCCM package name from the Package ID
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

721 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