Solved

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

Posted on 2016-09-16
2
157 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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