Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I installed .net 4.5.1 on my windows server 2012 (version 6.2 build 9200), all sql server connections were broken. Any time I tried to connect to the sql server, I'd see an error stating:

The message received was unexpected or badly formatted.

I also saw this C++ runtime error in some programs like linqpad and SSMS:

r6025 pure virtual function call

This caused app pools in IIS to completely stop for any site connecting to sql server.

When I finally uninstalled .net 4.5.1, connectivity to sql server was restored, but applications requiring that version of .net fx were out of commission.

Google and event logs haven't turned up anything useful for how I should proceed to get .net 4.5.1 on this machine.

Any ideas?

share|improve this question
add comment

2 Answers

I had the same issue on windows 7 Enterprise SP1. Upgrading .NET to 4.5.2 solved it for me.

Found the solution in this post - which points to this MS KB.

I realize this is an old thread, but it was one of the top search results for me - hopefully it can help someone else.

share|improve this answer
add comment

From this post

Run:

netsh winsock reset

share|improve this answer
    
Tried that the night before. Seemed to work, but the next morning things were broken again. –  Ronnie Overby Jan 7 at 1:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.