Solved

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

Posted on 2016-09-16
2
123 Views
Last Modified: 2016-09-20
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=4.121.1.0, 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.

F.
0
Comment
Question by:toronto2456
2 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 41802644
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..
https://blogs.msdn.microsoft.com/rakkimk/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes/
0
 

Author Comment

by:toronto2456
ID: 41804714
Hi Arnold,

Thanks very much , I will look a these settings

Thanks

F.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now