Q: I receive an unhandled exception of the type:
SharpDevelop Version : 2.1.0.1825
.NET Version : 2.0.50727.42
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : Italian (Italy) (it-IT)
Working Set Memory : 76700kb
GC Heap Memory : 31816kb
Exception thrown:
System.IO.FileNotFoundException:
Could not load file or assembly 'ADODB, Version=7.0.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Impossibile trovare il file specificato.
File name: 'ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at SharpQuery.Connection.AbstractSharpQueryConnectionWrapper.CreateFromDataConnectionLink()
at SharpQuery.Gui.TreeView.SharpQueryNodeDatabaseRoot.BuildsChilds()
at SharpQuery.Commands.SharpQueryAddconnectionCommand.Run()
....
What is going on? Am I missing a file?
A: Yes, the file ADODB.dll is not installed into the GAC of your machine. Download the ADODB.dll appropriate for your system from Microsoft and install it using the following command:
gacutil /i adodb.dll
Usually, the dll is included in the .NET framework SDK for your system.