|
Question : ASP.NET 2.0 web app referencing adodb and adodb.net
|
|
I need help unreferencing a reference in an ASP.NET 2.0 web project.
I have a web project that had a reference to ado. Someone added a reference to ado.net to the project and we got the compilation error:
The type 'ADODB.Connection' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webapp\8a30a549\4af9b613\assembly\dl3\04275478\0007ea7b_d409c701\Interop.ADODB.DLL' and 'c:\WINDOWS\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\adodb.dll'
This is to be expected since both have an ADODB.Connection object.
Now my problem is that i cannot unreference ado.net. I thought i could do this in the web.config file but all my references are being readded there when i recompile. Here is a snippet from my web.config.
I dont know which one is ado.net but i'm guessing that represents old ado. When i delete that one, the line is always re-added when recompile.
I my question is: How to i unreference ado.net so my code works again (it won't even compile now)?
|
|
Answer : ASP.NET 2.0 web app referencing adodb and adodb.net
|
|
PAQd, 500 points refunded.
DarthMod CS Moderator
|
|
|