Problem : ADODB version 7.0.3300.0 must be installed in the Global Assembly Cache (GAC)

Problem : ADODB version 7.0.3300.0 must be installed in the Global Assembly Cache (GAC)

I built a small Windows Form in VS.NET 2005 that basically just enters parameters into a stored procedure (SQL 2000) and runs it.

It runs fine on my development machine, but when I try to install and run it on the client it will be used on, I get this error:

————————————-
“Unable to install or run the application. The application requires that assembly ADODB version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first.”
————————————-

I have set the .NET Framework 2.0 and Microsoft Data Access Components 2.8 as pre-requisites.
I have also tried the two methods of distributing the pre-requisites: (download from vendor, download from same location as application – in this case I have downloaded and placed the .exe files in the app’s IIS folder)

The .NET 2.0 Framework seemed to install just fine, but I keep getting this message, and also no indication in Add/Remove Programs that MDAC is installed.


 

Solution : ADODB version 7.0.3300.0 must be installed in the Global Assembly Cache (GAC)

And, that is ADO.NET code, which means that you can remove the reference to ADODB from the project, and it should work just fine.