Top "Sqlexception" questions

An exception that is thrown when the database driver encounters an error.

What causes Timeout expired SqlExceptions in LINQ to SQL?

My application keeps running into Timeout Expired SqlExceptions. The thing is that this query is one that will simply have …

c# sql-server sql-server-2005 linq-to-sql sqlexception
No suitable driver found for Oracle Database connection

I have small Java Application, which execute every day and checks for data in database using Cronj Schedular and everything …

java jdbc oracle11g driver sqlexception
Unable to handle System.Data.SqlTypes.SqlNullValueException

I have following code: public string getFinalCon(string desid) { string finalConId = null; try { query = "select finalConID from discussions where desid=@…

c# asp.net sql-server-2008 null sqlexception
Dapper dynamic parameters throw a SQLException "must define scalar variable" when not using anonymous objects

(This code is using Dapper Dot Net in C#) This code works: var command = "UPDATE account SET priority_id = @Priority …

c# sqlexception dapper
Delete sqlite db file

I am developing a C# application with its backend as sqlite. In my application I have a button for cleaning …

sqlite c#-4.0 sqlexception drop-database
SQL Server, C#: Timeout exception on Transaction Rollback

I've got a strange problem. I have a .NET program and my process logic needs a long-running transaction (~20min) on …

c# sql-server transactions timeout sqlexception
How to set SQLException Number

I'm having an issue on settin up SqlException.Number On my Stored Proc i'm raising an error --@number = 50001 RAISERROR(@…

sql-server sqlexception raiserror
How can I get the actual SQL that caused an SqlException in C#?

Possible Duplicate: Obtain the Query/CommandText that caused a SQLException I am working on some error handling code (using elmah) …

c# sql sqlexception
Get the metadata for prepared statement in java with MySql DB

I want to fetch parameter name and parameter type of given prepared statement. I am using MySQL Database. But when …

java mysql metadata sqlexception
java.sql.SQLException: Invalid value for getInt() - 'foo'

I have this error "Invalid value for getInt() - 'sirocodir'" , i have search in many forum but no response for …

hibernate jpa integer sqlexception many-to-one