c# - Oracle ODAC error setting up website in IIS: type A cannot be cast to type B? -


i have website i've developed in vs2010 cassini. it's gone production aleady , i'm doing ie9 upgrades when load local iis (so can hit vm) this:

problem getting database connection: [a]oracle.dataaccess.client.oracleconnection cannot cast [b]oracle.dataaccess.client.oracleconnection. type originates 'oracle.dataaccess, version=4.112.2.0, culture=neutral, publickeytoken=89b483f429c47342' in context 'default' @ location 'c:\windows\microsoft.net\assembly\gac_32\oracle.dataaccess\v4.0_4.112.2.0__89b483f429c47342\oracle.dataaccess.dll'. type b originates 'oracle.dataaccess, version=2.112.2.0, culture=neutral, publickeytoken=89b483f429c47342' in context 'default' @ location 'c:\windows\assembly\gac_32\oracle.dataaccess\2.112.2.0__89b483f429c47342\oracle.dataaccess.dll'. @ dblib.mydatabase.getconnection()

any clue or how around it?

looks old version of data access dll installed in gac. dll in c:\windows\microsoft.net... exist? if not, may have provide copy of in bin folder , update config use dll in bin. assumes want use new version , not old 1 in gac.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -