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!

Error Publishing WebProject with EntityFramework

884940Sep 11 2011 — edited Oct 17 2011
Hi
I'm using entity framework in a ASP.NET web application with Oracle
I use this tag that i found in oracle forums to convert Oracle data Types to .NET

<oracle.dataaccess.client>
<settings>
<add name="bool" value="edmmapping number(1,0)" />
<add name="byte" value="edmmapping number(3,0)" />
<add name="int16" value="edmmapping number(5,0)" />
<add name="int32" value="edmmapping number(10,0)" />
<add name="int64" value="edmmapping number(16,0)" />
<add name="&quot;INSPECTION&quot;.&quot;GroupInspection&quot;.RefCursor.C_GET" </settings>
</oracle.dataaccess.client>

It works fine for developing, but when i tried to publish it to IIS 7, i got this error:

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

Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070032
Config Error The configuration section 'oracle.dataaccess.client' cannot be read because it is missing a section declaration
Config File \\?\E:\Virtual\Inspection\web.config

Edited by: 881937 on Sep 11, 2011 4:25 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2011
Added on Sep 11 2011
5 comments
3,155 views