what is this??

  • Thread starter Thread starter mike
  • Start date Start date
M

mike

Error 1 The type 'ADODB.Fields' exists in both
'd:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\aaa2006\104fc4d0\e0466e3\assembly\dl3\1897f7ea\006b6cfe_7179c401\Interop.ADODB.DLL'
and 'd:\WINDOWS\assembly\GAC_32\ADODB\8.0.0.0__b03f5f7f11d50a3a\ADODB.dll'
C:\Project2005\WebSite\aaa2006\App_Code\Lib\Mail.cs 20 10 C:\...\aaa2006\


What is this....
 
Error 1 The type 'ADODB.Fields' exists in both
'd:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\aaa2006\104fc4d0\e0466e3\assembly\dl3\1897f7ea\006b6cfe_7179c401\Interop.ADODB.DLL'
and 'd:\WINDOWS\assembly\GAC_32\ADODB\8.0.0.0__b03f5f7f11d50a3a\ADODB.dll'
C:\Project2005\WebSite\aaa2006\App_Code\Lib\Mail.cs 20 10 C:\...\aaa2006\


What is this....

Hi Mike,

I may well be wrong, but it looks like you are calling something which
appears in 2 different classes, ie, .Fields - which is part of
Interop.Adodb.dll AND adodb.dll - try fully naming it in your code or adding
an IMPORTS to the approriate one you want to use.

I get something similar when programmatically adding an "Image" - as it
appears in the web controls and system drawing - thus I have to tell it
which it is.

Hope this helps in some way,

Regards

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top