Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

Visual Studio 2013 install breaks SQL Server applications

$
0
0

This morning, I installed Visual Studio 2013 and after doing so, a legacy application which has been running on our systems for years has started receiving errors. The application is written in VB 2010 and when I debug it, I get the following exception at the point where it is trying to connect to SQL Server. The application was not modified and had been running up to that point.

I'm able to log on to the database with  SQL Server Management Studio 2008 R2 but cannot connect to the database with my VB application. 

I did some searching on the internet and found the same problem reported in Experts Exchange. They report that the most recent version of System.Data.dll is to blame for the problem but I'm unable to verify that. I need to get this application running again. What can I do to remedy the problem?

System.Data.SqlClient.SqlException occurred
  Class=20
  ErrorCode=-2146232060
  HResult=-2146232060
  LineNumber=0
  Message=A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The message received was unexpected or badly formatted.)
  Number=-2146893018
  Server=ReliJaxTFS01
  Source=.Net SqlClient Data Provider
  State=0
  StackTrace:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
  InnerException: System.ComponentModel.Win32Exception
       ErrorCode=-2147467259
       HResult=-2147467259
       Message=The message received was unexpected or badly formatted
       NativeErrorCode=-2146893018
       InnerException: 



Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>