Reputation: 31
I am doing a C# project in Visual Studio 2012 (x86). I was able to add Gupta.SqlBase.Data
to the project but when I run the project if gives me an error related to SqlBaseUtil.dll
.
Unable to load SQLBASEUTIL.dll driver library.
Please check your CLIENTRUNTIMEDIR entry inside INI file or check your environment variable path or system path.
Therefore, I tried to add as reference to the project the SqlBaseUtil.dll
. I could not manage to add this dll. This dll is also added to GAC.
Please help.
Upvotes: 3
Views: 720
Reputation: 871
I had the same problem, and even after finding the dll and putting it in the same folder as the exe I was trying to run, it still gave the same error.
The problem wasn't that it couldn't find the dll, but rather that it couldn't load it, because it was missing vcredist2005_x86.exe (Microsoft.VC80.MFC).
If anyone else has the same problem, try checking the Event Viewer for more info (Windows Logs > Application).
Upvotes: 0
Reputation: 11
Check if the mentioned ini file exists. If it does, the language files associated with the SqlBaseUtil.dll
are missing and cannot be loaded.
Upvotes: 1