SQLServerException: The TDS protocol stream is not valid Programming Web Development by mrabrar09 …:1368) at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1355) at com.microsoft.sqlserver.jdbc.SQLServerConnection.throwInvalidTDS(SQLServerConnection.java:1344) at com.microsoft… java and sqlserver BIG problem?? Programming Software Development by MxDev …com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)… at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)… Database connection string error! Programming Software Development by Acidburn ….SqlClient; namespace WindowsWMIQueryDLL { class ActiveDataObjects { String SQLServerConnection = "Provider=SQLOLEDB.1;Data Source=local;Initial… the database connection dataAdapter = new OleDbDataAdapter(commandstring, SQLServerConnection); // SqlConnection conn = new SqlConnection("Data … iReport problem Programming Software Development by P00dle ….TDSCommand.execute(IOBuffer.java:4026)     at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1416)     at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand… Resultset,fethich recodrds and moving to next record Programming Software Development by chdboy …;init>(SQLServerStatement.java:464) at com.microsoft.sqlserver.jdbc.SQLServerConnection.createStatement(SQLServerConnection.java:2157) at Miglayout.nextrecord(Miglayout.java:439) at… Re: Connection String Programming Software Development by chdboy …:491) at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1309) at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991) at com.microsoft… Re: SQLServerException: The TDS protocol stream is not valid Programming Web Development by pritaeas Perhaps [this thread](http://social.msdn.microsoft.com/Forums/en/sqldataaccess/thread/3e869ce7-d6df-4392-ba53-5d44a46e16d8) can help. Re: java and sqlserver BIG problem?? Programming Software Development by AlbertPi This is an URL ( see below) may help you. http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=1393578&SiteID=1 Albert Re: Database connection string error! Programming Software Development by Momerath Remove the "Provider..." from your connections string and get rid of all the OleDB objects. Or if you must you OleDB (and its limitations) the provider should be "SQLNCLI10" for SQL Server 2008. Re: Database connection string error! Programming Software Development by Acidburn Hi Momerath, thanks for your prompt post I've updated the code to reflect your comments. I now use SqlConnections. The other issue now is i get the following error from this SQL command... [quote] Incorrect syntax near '?'. [/quote] this is caused by... [code] dataAdapter.InsertCommand = connection.CreateCommand(); … Re: Database connection string error! Programming Software Development by Momerath SQL Server connections used named parameters, rather than the '?' of an OleDB connection. Change the command to [icode]"INSERT INTO Computer (Id, Name) VALUES (@Id, @Name)"[/icode] By using named parameters you can add them in any order and the system will figure it out. It also cuts down on errors in case you do add them in the 'wrong' … Re: Database connection string error! Programming Software Development by Mitja Bonca Whole code would look like (as Momerath explained): [CODE] dataAdapter.InsertCommand = connection.CreateCommand(); dataAdapter.InsertCommand.CommandText = "insert into Computer (Id, Name) values (@id, @name)"; dataAdapter.InsertCommand.Parameters.Add("@d", SqlDbType.NVarChar, 16, "Id&… Re: iReport problem Programming Software Development by Ezzaral Have you looked into the error [iCODE]Invalid object name 'tCandidate'.[/iCODE] Is it a valid object? Re: Resultset,fethich recodrds and moving to next record Programming Software Development by bhanu1607 Hi, Which driver are you using? Microsoft old version will not support sensitive and updatable resultset. Check the following link for more details [Click Here](http://social.msdn.microsoft.com/Forums/sqlserver/en-US/595b232f-f109-4b61-a762-9294841b7ee7/sql-server-2005-issue-the-cursor-typeconcurrency-combination-is-not-supported?forum=… Re: Resultset,fethich recodrds and moving to next record Programming Software Development by chdboy Comming back to the similar problem with ResultSet I'm not able to move forward with the ResultSet with this code on "next Button" Statement stmt = null; String query = "select * from Employer"; try { stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.… Re: Resultset,fethich recodrds and moving to next record Programming Software Development by chdboy Ok this thread is solved now.