473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

'name' is ambiguous in the namespace 'ADODB'

1
Hi,

I am migrating an application from dotnet 1.1 to dotnet 2.0.

When i use the solution file created in dotnet 1.1, on building the solution in dotnet 2.0 i am getting the following two errors :-

'Fields' is ambiguous in the namespace 'ADODB'
'Stream' is ambiguous in the namespace'ADODB'

Any sort of help will be great.

Thanks in advance.

Regards,
NT4U
Aug 23 '07 #1
3 7042
Plater
7,872 Expert 4TB
It means it have access to more then one class called "Stream" and "Fields"
You should hard reference them (i.e. instead of saying "Directory", you would say "System.Io.Directory", apply that kind of thinking to the "Stream" and "Fields" objects)
Aug 23 '07 #2
fun60
2
I got the same trouble in migrating from dotnet 1 to dotnet 2. It seems to me that it was caused by dotnet 2. It includes the both new verion of ADODB and the old version. However, I have not find way to delete the old version from the dotnet 2 project. If you start a new project in dotnet 2 from beginning and copy over your files, then you could avoid such a trouble.
Sep 28 '07 #3
fun60
2
Hi,

I just got it fixed by editing xxx.vbproj with notepad. You will see two entries in <Reference> section. Try to delete one of them to see.

Best wish!
Sep 28 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Marc A. Criley | last post by:
I'm having to write some test queries for an XPath query processor, and for the most part it's pretty straightforward, but I'm a little uncertain about the use of the name(), local-name(), and...
4
by: Jim | last post by:
I am having a problem with the IsDBNull function. When it checks what type of value is contained in the parameter that is passed to it, it does not successfully determine that it has a DBNull...
3
by: Kris | last post by:
Hi All, I am having a problem compiling a C++ project that I am working on and I'm hoping that one of you C++ gurus out there can provide me with some guidance.
8
by: Petter Reinholdtsen | last post by:
I ran into a problem on HP-UX 11.00 the other day, where it refused to compile a program using 'using namespace std;' at the top. The reason seem to be that the compiler refuses to accept 'using...
1
by: Peter Somu | last post by:
Hi, How could I access the name of the Namespace, Class and Method from within a C# program? Is there something similar to the 'caller' function in Perl? Thanks, /Peter Somu ...
3
by: tuanhoanganh | last post by:
My program has class's name same namespace 's name. Ex namespace clsvoucher public class clsvoucher .......... end class end namespace Can I use Dim a as clsvoucher or I must use Dim a as...
9
by: Ivan Mascovich | last post by:
Previous posts (and compilers) confirm that class X { friend void Y() ; } ; does not match namespace
1
by: ad | last post by:
I use VS2005 to develop a Class Library. What is the better police to name the NameSpace. Is it OK the name the NameSpace as the project name of the NameSpace?
2
by: Bob Johnson | last post by:
I'm just wondering if it is perfectly acceptable to have one or more period (.) in the name of Visual Studio projects and in namespace names? I would hope not - but I'm having some flashbacks of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.