
{"id":1422,"date":"2017-04-18T17:52:39","date_gmt":"2017-04-18T17:52:39","guid":{"rendered":"http:\/\/tech-no.104.210.61.21.xip.io\/?p=1422"},"modified":"2017-04-18T17:52:39","modified_gmt":"2017-04-18T17:52:39","slug":"how-to-install-net-framework-3-5-on-windows-server-2012-and-windows-server-2012-r2","status":"publish","type":"post","link":"https:\/\/tech-no.org\/?p=1422","title":{"rendered":"How to install .NET Framework 3.5 on Windows Server 2012 and Windows Server 2012 R2"},"content":{"rendered":"<p>I ran across this issue again (figured it was due to the media not being available) and decided to document the resolution.<\/p>\n<h2>When trying to add the .NET Framework 3.5 feature through the Add Roles and Features Wizard in Server 2012 (R2), you receive the following error:<\/h2>\n<p><span style=\"color: #ff0000;\"><em>Do you need to specify an alternate source path? \u00a0One or more installation selections are missing source files on the destination server. \u00a0The server will try to get missing source files from Windows Update, or from a location that is specified by Group Policy. \u00a0You can also click the \u201cSpecify an alternate source path\u201d link on this page to provide a valid location for the source files.<\/em><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/tech-no.104.210.61.21.xip.io\/?attachment_id=1423#main\" rel=\"attachment wp-att-1423\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1423\" src=\"http:\/\/tech-no.104.210.61.21.xip.io\/wp-content\/uploads\/sites\/4\/2017\/04\/neterror.png\" alt=\"\" width=\"805\" height=\"571\" srcset=\"https:\/\/tech-no.org\/wp-content\/uploads\/sites\/4\/2017\/04\/neterror.png 805w, https:\/\/tech-no.org\/wp-content\/uploads\/sites\/4\/2017\/04\/neterror-300x213.png 300w, https:\/\/tech-no.org\/wp-content\/uploads\/sites\/4\/2017\/04\/neterror-768x545.png 768w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/a><\/p>\n<h2>Complete the steps below to manually install .NET Framework 3.5 from the Server 2012 (R2) installation media.<\/h2>\n<p>Command Line fix:<\/p>\n<ol>\n<li>Insert the Windows Sever 2012 installation media (or mount it if you are using virtualization).<\/li>\n<li>Open an elevated command prompt.<\/li>\n<li>Execute the following command:\u00a0<strong>dism \/Online \/Enable-Feature \/FeatureName:NetFX3 \/All \/Source:D:\\Sources\\SxS\\ \/LimitAccess<\/strong><\/li>\n<\/ol>\n<p>That fixes the issue, you can also specify an alternate source from the GUI, but where is the fun in that?<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran across this issue again (figured it was due to the media not being available) and decided to document the resolution. When trying to add the .NET Framework 3.5 feature through the Add Roles and Features Wizard in Server 2012 (R2), you receive the following error: Do you need to specify an alternate source &hellip;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/1422"}],"collection":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1422"}],"version-history":[{"count":1,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/1422\/revisions"}],"predecessor-version":[{"id":1424,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/1422\/revisions\/1424"}],"wp:attachment":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}