Microsoft
Software
Hardware
Network
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\4af9
b613\assem
bly\dl3\04
275478\000
7ea7b_d409
c701\Inter
op.ADODB.D
LL' and 'c:\WINDOWS\assembly\GAC\A
DODB\7.0.3
300.0__b03
f5f7f11d50
a3a\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
Random Solutions
ComboBox background color still leaves a white border
SBS 2008 DNS
Access 2007 - AfterUpdate not working
2003 server c drive and windows showing different used area quantity
Detecting version numbers
RowDeleting event execute twice
stop error 0x000000d1 (0x00000000, 0x00000002, 0x00000000, 0x00000000) DRIVER_IRQL_NOT_LESS_OR_EQ<wbr />UAL
Exchange 2007 Storage Groups
MD5 Hash
Outlook voting button no response summary