Windows 2012 server were .net 4.8 won't repair. How do i fix that

Shannon Ramirez 1 Reputation point
2021-06-14T21:24:11.097+00:00

I have a patched Windows 2012 machine. I'm getting a communications error - System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. This is happening when a web application I wrote tries to access a SQL Server at the hosting provider Arvixe. I don't get the error on windows 10 machines. Anyway.. doing a little digging most suggest that i need to run .net 4.8 on the 2012 machine. The issue i'm having is that .net 4.8 says it's installed. The .net repair tool says it's installed but not correctly. So i can't install it again and it's not working correctly. .net 4.8 is not one of the unisntall programs under the add remove programes like some of the other .net versions are. I've included what powershells Get-WindowsFeature net shows in case that is helpful.

Can anyone give some advice on hot to get 4.8 working on this machine. Thanks105572-dotnet.png

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,152 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.