Duplicate "oracle.manageddataaccess.client" error while Porting sites from iis 6 to iis 8.5

Hello ,

I am porting the sites ( .NET V4 , asp.net )  from IIS 6 to IIS 8.5. the Site is working on IIS 6 with no issues.

I configured the IIS 8.5 and create a site and have put a simple asp page for testing and it is working fine. Then, I copied the code from IIS 6 , then even the the test asp page is not working anymore and giving the error

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Config Source:
   22:     </sectionGroup>
   23:     <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=, Culture=neutral, PublicKeyToken=583344535f345345342" />
   24:   </configSections>

moreover I can't even open the authetication icon from IIS, it is giving the error message : There is duplicate "oracle.manageddataaccess.client" section defined.

I am sure that code is okay as it is working on IIS 6

any idea as to why this behaviour occurs is  is greatly appreciated as I am having this error most time and it is annoying.

Who is Participating?
arnoldConnect With a Mentor Commented:
Double check your ASP.net settings, any ISAPI ..... dll registration, configuration settings. remove friendly error from IE when accessing the site. enable within web.config debug to provide a detailed error to identify what the issue is.
Presumably you are consulting Oracle config/setup for this application to make sure all required settings in IIS 8.5 that you need are set........
application pool?

The security/application container in IIS8.5 is significantly different than IIS6.  You can use IIS7 IIS7.5 IIS 8 reference for your oracle application to configure your IIS 8.5 .......

Not sure why you are not running the oracle installer which should configure the "site" as needed.

Check whether your issue is that the application you have is 32 bit, while you are operating on a 64bit system. There is an IIS directive to run the site appcmd in 32 bit mode to enable your 32 bit application to use the 32 bit .NET, versus your current situation might be your 32 bit application is running in a 64bit environment and is unable to use the 64 bit ASP.Net.........

See MS Blog post on this issue/remedy..
toronto2456Author Commented:
Hi Arnold,

Thanks very much , I will look a these settings


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.