{"id":1206,"date":"2013-03-24T08:36:35","date_gmt":"2013-03-24T08:36:35","guid":{"rendered":"http:\/\/techsupport.relyonsoft.in\/?p=1206"},"modified":"2014-04-23T09:46:22","modified_gmt":"2014-04-23T09:46:22","slug":"common-language-runtime-detected-an-invalid-program","status":"publish","type":"post","link":"https:\/\/relyonsoft.in\/techsupport\/common-language-runtime-detected-an-invalid-program\/","title":{"rendered":"Windows 8: Enable .NET Framework 3.5"},"content":{"rendered":"<p><strong>Error:<\/strong><\/p>\n<p>Common language runtime detected an invalid program<\/p>\n<p><strong><strong>Snapshot<\/strong>:<\/strong><\/p>\n<p><a href=\"http:\/\/techsupport.relyonsoft.in\/wp-content\/uploads\/2013\/03\/Fx-err-in-win8.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1207\" title=\"Fx err in win8\" src=\"http:\/\/techsupport.relyonsoft.in\/wp-content\/uploads\/2013\/03\/Fx-err-in-win8.jpg\" alt=\"\" width=\"477\" height=\"167\" srcset=\"https:\/\/relyonsoft.in\/techsupport\/wp-content\/uploads\/2013\/03\/Fx-err-in-win8.jpg 477w, https:\/\/relyonsoft.in\/techsupport\/wp-content\/uploads\/2013\/03\/Fx-err-in-win8-300x105.jpg 300w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/a><\/p>\n<p><strong>Workaround1:\u00a0<\/strong><\/p>\n<h3>Windows 8: Enable .NET Framework 3.5<\/h3>\n<p>.NET Framework .NET 4.5 is shipped with Windows 8\u00a0as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be connected to internet i.e.\u00a0<strong>Online Mode<\/strong>. Other way is using\u00a0<strong>DISM<\/strong>\u00a0Command and this can be done in an\u00a0<strong>Offline Mode<\/strong>\u00a0using Windows 8 installation media.<\/p>\n<p>First step is to check the\u00a0<strong>Program and Features<\/strong>\u00a0to enable any available additional features in an Operating System. This is what you see in your\u00a0<strong><\/strong><\/p>\n<p><strong>Control Panel<\/strong> |<strong>Program and Features|<\/strong> <strong>Turn Windows features on or off<\/strong>.<\/p>\n<p>Find &#8220;Microsoft .NET framework 3.5.1&#8221; when the window opens<\/p>\n<p>Click the + sign next to it to expand it so you can now see:<\/p>\n<p>&#8220;Windows Communication Foundation HTTP Activation&#8221;<\/p>\n<p>&#8220;Windows Communication Foundation HTTP non-Activation&#8221;<\/p>\n<p>Make sure there is a tick in both boxes and select OK.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Method 1: When you are Online, connected to Internet.<\/span><\/strong><\/p>\n<p>In order to install the following window click on the\u00a0<strong>.NET Framework 3.5 (included .NET 2.0 and 3.0)\u00a0<\/strong>select it &amp; click\u00a0<strong>OK<\/strong><\/p>\n<p>Now, it will download the entire package from the internet &amp; install the .NET Framework feature.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Method 2: When you are Offline and not connected to Internet<\/span><\/strong><\/p>\n<p>copy the required package to local machine before you run the command to install .NET Framework. To do that use Windows 8 ISO\/DVD\/USB Media. You need to copy\u00a0<strong>SXS<\/strong>\u00a0folder to local machine located at\u00a0<strong>D:\\sources\\sxs<\/strong>\u00a0(In this case\u00a0<strong>D:<\/strong>\u00a0your drive letter on which you have loaded Windows 8 Media)<\/p>\n<p>Open CMD.EXE with Administrative Privilege<\/p>\n<p>Run the following command<\/p>\n<p><strong>dism \/online \/enable-feature \/featurename:NetFx3 \/All \/SourceC:\\sxs \/LimitAccess<\/strong>\u00a0 and hit Enter<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: Common language runtime detected an invalid program Snapshot: Workaround1:\u00a0 Windows 8: Enable .NET Framework 3.5 .NET Framework .NET 4.5 is shipped with Windows 8\u00a0as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts\/1206"}],"collection":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/comments?post=1206"}],"version-history":[{"count":0,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/posts\/1206\/revisions"}],"wp:attachment":[{"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/media?parent=1206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/categories?post=1206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/relyonsoft.in\/techsupport\/wp-json\/wp\/v2\/tags?post=1206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}