dart_mssql icon indicating copy to clipboard operation
dart_mssql copied to clipboard

error: library handler failed

Open adelina2kx opened this issue 5 years ago • 4 comments

This can’t be used normally. I’m on a win10 system. I installed all versions of Microsoft Visual C++ Redistributable. I also installed the OLDDB driver. I also copied dart_mssql_64.dll to the project directory, but the startup still prompts "error: library handler failed."

adelina2kx avatar Apr 08 '21 12:04 adelina2kx

Did you "Rename to "dart_mssql.dll" according to your needs and copy it to the main directory of your project."?

MoacirSchmidt avatar Apr 08 '21 15:04 MoacirSchmidt

Did you "Rename to "dart_mssql.dll" according to your needs and copy it to the main directory of your project."?

Yes, my dart and operating system are both 64-bit. I chose the 64-bit dll file and renamed it to "dart_mssql.dll" and moved it into the main directory of the project。

adelina2kx avatar Apr 10 '21 12:04 adelina2kx

Estou com o mesmo problema com o mesmo ambiente

thobiassilva avatar Apr 13 '21 13:04 thobiassilva

I'm getting this error too.

Just to confirm, I have copied the dart_mssql.dll to the root directory of my dart project (same folder as pubspec.yaml). I've also installed oledb using this link

https://docs.microsoft.com/en-us/sql/connect/oledb/download-oledb-driver-for-sql-server?view=sql-server-ver15

atreeon avatar Apr 23 '21 14:04 atreeon