Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I by mistake right clicked on the project name( website1) and clicked on "add a reference" and chose ".NET" and chose "Oracle.DataAccess\2.112.1.0" eventhought I had the Oracle.DataAccess.Client already on the top name space area.And it is showing the following error after I add the reference . How do I fix it?Please help me with this this is urgent

<code>Error 1 The type 'Oracle.DataAccess.Client.OracleCommand' exists in both 'c:\WINDOWS\assembly\GAC\Oracle.DataAccess\10.2.0.100__89b483f429c47342\Oracle.DataAccess.dll' and 'c:\WINDOWS\assembly\GAC_32\Oracle.DataAccess\2.112.1.0__89b483f429c47342\Oracle.DataAccess.dll' C:\Documents and Settings\cmsdev3\My Documents\Visual Studio 2005\WebSites\WebSite1\App_Code\DBQueries.cs 159 66 C:\...\WebSite1\</code>
Posted
Updated 3-Aug-11 2:59am
v2

1 solution

only one solution

find the name's "DBQueries.cs" file then open it,
change the namespace name use other word,
 
Share this answer
 
Comments
pratheep7 3-Aug-11 9:16am    
Couls you be a little more specific please since I'm new to this programming?

Thank you
pratheep7 3-Aug-11 9:21am    
The error is showing "ambiguous refernce"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900