Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am working with visual studio 2010 with Oracle 10g back-end, i used ODT with ODAC 112012 to connect oracle 10g with vs 2010, after i enclosed a webform with Oracle database, but getting this error ,

CS0433: The type 'Oracle.DataAccess.Client.OracleCommand' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\fast team3\0b28a749\fd6d2f34\assembly\dl3\88307a15\00e8600f_f72ecb01\Oracle.DataAccess.DLL' and 'c:\WINDOWS\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess\v4.0_4.112.1.2__89b483f429c47342\Oracle.DataAccess.dll'


Please provide the solution if any one knows...Thanks in advance.
Posted
Updated 18-Apr-19 6:01am

Try following this if it helps: Trying to resolve ODP error [^]
 
Share this answer
 
Comments
Maciej Los 21-Jun-12 17:13pm    
Interesting link, my 5!
Clean the solution and build again and make sure you don't have references in both config file and bin folder.
 
Share this answer
 
Clean and rebuild the solution 

delete all ODATAACCESS reference in your library, 

clean rebuild, 
Open Nugget, add Odataaccess x86
clean rebuild

Open the project path , delete file : Obj  & bin 

Open C:\Windows\Microsoft.NET 
seach look for Temporary ASP.NET Files

delete all file inside it ;

Close VS 
restart  it , clean build  
[OK !]
 
Share this answer
 

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