Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » ODBC Assertion failed
Re: ODBC Assertion failed [message #57202 is a reply to message #57194] Thu, 10 June 2021 17:00 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi there,
I finally found the culprit: that was a very tricky one.

So, in my code, I had the following in the connection string:

"Driver={SQL Server}"

I used that after checking the driver available in my system using ODBC Data sources:

https://imgur.com/Qeez2OA

For some reason that driver is not working (AFAIK because it's a 32 bit and I compile my application in 64 bit). Using the driver {ODBC Driver 17 for SQL Server} everything works fine. Anyway the application was able to insert the data into the DB before crashing, so it was really hard to tell that the problem was the driver. I used Upp with Mysql, Postgres and SqlLite and never had such a problem, so I blame Microsoft.

Thanks for the support!
gio
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OleDBSession in Archive
Next Topic: sqlite3 Custom Function in SqlExp
Goto Forum:
  


Current Time: Sat Jun 15 20:32:12 CEST 2024

Total time taken to generate the page: 0.00896 seconds