Net Framework is installed, but no applications see it...

Red Storm

Lifer
Oct 2, 2005
14,233
234
106
I keep getting this error when I try to run anything that uses .NET:

Please set registry key
HKLM\Software\Microsoft\.NETFramework\InstallRoot to point to the .NET Framework install location

Well I checked that registry key and the path is set as C:\Windows\Microsoft.NET\Framework64. I tried changing it to where .NET has a folder in Programs Files, but that didn't work.

I tried uninstalling and reinstalling .NET Framework. Tried every version. I tried fix/clean up tools. No luck with anything. Google searching brings up the solution as "You don't have .NET Framework installed" but I clearly do.

This is Win 7 x64. Fully up to date.
 

Rhonda the Sly

Senior member
Nov 22, 2007
818
4
76
I don't believe the .net 4.0 package contains any .net 2~3.5, you may have to install those separately.
 

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
I keep getting this error when I try to run anything that uses .NET:



Well I checked that registry key and the path is set as C:\Windows\Microsoft.NET\Framework64. I tried changing it to where .NET has a folder in Programs Files, but that didn't work.

I tried uninstalling and reinstalling .NET Framework. Tried every version. I tried fix/clean up tools. No luck with anything. Google searching brings up the solution as "You don't have .NET Framework installed" but I clearly do.

This is Win 7 x64. Fully up to date.

It's not uncommon for the GAC (Global Assembly Cache) directory to become corrupt. The directory is hidden and located at C:\Windows\assembly\GAC. Download the Microsoft .NET Framework 3.5 Service pack 1 (Full Package), which is the executable you want to install, after first running Aaron Stebner's .NET Framework Cleanup Tool to completely remove all currently installed .NET Framework versions (be sure to reboot after running the cleanup tool).

.NET 3.5 SP1 installs .NET 2.0, .NET 3.0, as well as .NET 3.5. When the installation completes, go to Windows Update and install all .NET Framework updates. After rebooting go back to Windows Update, as there are additional .NET Framework 3.5 SP1 updates that need to be installed following the first update session. When .NET Framework 3.5 Service pack 1 is completely updated, download and install Microsoft .NET Framework 4 (Standalone Installer), again followed by Windows Update. Also download the .NET Framework Setup Verification Tool and run it after reinstalling the .NET Framework.
 

Red Storm

Lifer
Oct 2, 2005
14,233
234
106
Thank you for the step by step. Here's where I'm stuck:

I run the clean up tool, it works fine. I reboot, and then when I try to launch the 3.5 installer nothing happens. It extracts to install, but the installer never launches. Any ideas? I am using an admin account, and there is no AV running at the moment.

Edit: Okay, I tried to do it in Safe Mode and it told me I had to configure it via the Windows feature option in Control Panel. So I booted back in normally, went there and noticed there was a .NET 3.5.1 option, so I unchecked it. Now the installer is running... No, scratch that, error half way through and it did not complete.
 
Last edited:

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
Don't attempt to uninstall or install anything else until you run through these two procedures to correct any disk errors, file system errors and/or corrupt system files:

(1) Open an elevated command prompt and copy/paste or type the following command line:

chkdsk C: /x /v /f /r /b (press enter)

Chkdsk will tell you it can't lock the volume and ask if you want it to run at the next reboot; type Y (press enter), close the command prompt then reboot your PC. Depending on the size of your HDD this will take a while, so be patient.

(2) When chkdsk completes and you're booted back into Windows open an elevated command prompt and copy/paste or type the following command line:

sfc /scannow (press enter)

When System File Checker completes, reboot your PC and rerun the procedures for uninstalling and reinstalling .NET Framework. Be sure to run the .NET Framework Setup Verification Tool immediately after running the .NET Framework Cleanup Tool, and verify that all instances of the .NET Framework are indeed gone before attempting to reinstall.


.
 

Red Storm

Lifer
Oct 2, 2005
14,233
234
106
Thank you for the continued help Bubbaleone, but no luck. Scan went through with no errors found. I just can't seem to get 3.5 to install. Version 4 does install, but it doesn't solve the error.
 

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
I'm looking at the reg key in your OP but since I run x86 I don't see that key in my registry. However, my registry key: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup" shows the installation path as C:\Windows\Microsoft.NET\Framework\*** and I don't think that's different for x64, but I could be wrong.

Look in your Windows directory and see if you in fact have a C:\Windows\Microsoft.NET\Framework\*** directory structure or something similar. If you do, then that's the install location you want to try pointing your "HKLM\Software\Microsoft\.NETFramework\InstallRoot" at. I'm just taking an educated guess here, but it may be worth a shot. Backup that key before you edit it.
 

Red Storm

Lifer
Oct 2, 2005
14,233
234
106
I have two folders, Framework and Framework64 in C: \Windows\Microsoft.NET. Neither seems to work.

jzboxu.jpg
 

greghel

Junior Member
Mar 11, 2013
1
0
0
Hey guys,

Im experiencing the same problem as Red Storm, I've been on tons of forums, tried everything but I still can't fix this problem. Any other suggestions please?