Link to home
Start Free TrialLog in
Avatar of BrianFord
BrianFordFlag for United States of America

asked on

Cannot install .NET 3.5 on Windows Server 2012

Trying to install .NET 3.5 on Win Server 2012 but getting error that source files cannot be found

I've searched the web and tried all the suggestions but I still get the same error

I've tried using the GUI and pointing to the /sources/sxs folder on the CD

Tried using cmd prompt:
dism /online /enable-feature /featurename:NETFX3 /all

Open in new window


but just get the same error every time

help :(
Avatar of becraig
becraig
Flag of United States of America image

From a previously answered question:
Try this command from CMD

dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess
insert OS disk
Go down to “Specify an alternate source path” and enter “d:\sources\sxs” as the path.
full article here
http://www.danielclasson.com/install-net-framework-35-server-2012/

https://www.experts-exchange.com/questions/28343777/Unable-to-install-NET-framework-3-5-on-Windows-Server-2012.html
you could also try powershell

Install-WindowsFeature Net-Framework-Core -source D:\Sources\SxS
Avatar of BrianFord

ASKER

tried all that :(

same error
Do you have windows 2012 DVD in CD-ROM when you run the command?
Use a different copy of media or extract SXS folder from ISO and copy it to the server, then point the location to the copied SXS folder.
Ok so I tried the powershell option - same error
then tried copying the sources folder directly to the root 'C:\sources\sxs' - same problem :(

The media I have is actually an ISO file mounted to the DVD drive of the server which is virtual, if that makes any difference?

Regardless of which method I try, the install gets to about 68% then fails
ASKER CERTIFIED SOLUTION
Avatar of Wasim Shaikh
Wasim Shaikh
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
shouldn't make a difference using a mounted iso

is this 2012 and not R2?  in other words, does the media match - 2012 using 2012 iso and not an R2 iso?
Running Windows Update did the trick

thank you
that article (and related updates) are for 2012 R2
are you running R2?