Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using oracle wallet as connection for "OraclePersonalizationProvider"

8fa191a7-d256-4466-ae02-74c7ba80a693Aug 1 2018 — edited Aug 1 2018

I am using the OraclePersonalizationProvider to store/get the personalization/session state related details of my web application with Oracle 11g. This worked flawless without any issue. We recently started using Oracle wallet with Oracle 12c. With this change, i am unable to connect to Oracle DB to fetch the Personalization/session data.  I get the below error:

Exception type: ConfigurationErrorsException

    Exception message: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (D:\inetpub\test\PreferencesService\web.config line 78)

   at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)

   at System.Web.SessionState.SessionStateModule.SecureInstantiateProvider(ProviderSettings settings)

   at System.Web.SessionState.SessionStateModule.InitModuleFromConfig(HttpApplication app, SessionStateSection config)

   at System.Web.SessionState.SessionStateModule.Init(HttpApplication app)

   at System.Web.HttpApplication.InitModulesCommon()

   at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)

   at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)

   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

Could not load file or assembly 'Oracle.DataAccess, Version=4.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

   at Oracle.Web.SessionState.OracleSessionStateStore.Initialize(String name, NameValueCollection config)

at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)

This error is only for session state. Am i missing something here. Please advice.

Regards,

Vinod

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2018
Added on Aug 1 2018
2 comments
190 views