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!

oracle.manageddataaccess.client with C# + Silverlight with Ria Services

2823316Mar 19 2015 — edited Mar 20 2015

Hello guys.

I have a dashboard project in C# + Silverlight + Oracle with RIA services.

I published it in my computer and it run ok. But in the server it doesn´t run.

I dont know more what to do. It just work before.

My web.config:

---***---***---***---***---***---***---***---***---***---***---***---***

<?xml version="1.0"?>

<!-- Copyright ©) Microsoft Corporation.  All Rights Reserved. -->

<configuration>

  <configSections>

    <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />

  </configSections>

  <system.web>

    <compilation debug="true" targetFramework="4.0"/>

  </system.web>

  <system.data>

    <DbProviderFactories>

      <remove invariant="Oracle.DataAccess.Client" />

      <remove invariant="Oracle.ManagedDataAccess.Client" />

      <add name="ODP.NET, Managed Driver" invariant="Oracle.DataAccess.Client"

       description="Oracle Data Provider for .NET, Managed Driver"

       type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />

    </DbProviderFactories>

  </system.data>

  <system.serviceModel>

    <bindings>

      <customBinding>

        <binding name="Painel.Web.Service.customBinding">

          <binaryMessageEncoding/>

          <httpTransport/>

        </binding>

      </customBinding>

    </bindings>

    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />

    <services>

      <service name="Painel.Web.Service">

        <endpoint address="" binding="customBinding" bindingConfiguration="Painel.Web.Service.customBinding" contract="Painel.Web.Service" />

        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />

      </service>

    </services>

    <behaviors>

      <serviceBehaviors>

        <behavior>

          <serviceMetadata httpGetEnabled="True"/>

          <serviceDebug includeExceptionDetailInFaults="false"/>

        </behavior>

      </serviceBehaviors>

    </behaviors>

  </system.serviceModel>

  <system.webServer>

    <modules runAllManagedModulesForAllRequests="true"/>

  </system.webServer>

  <oracle.manageddataaccess.client>

    <version number="4.121.2.0">

      <settings>

        <setting name="TNS_ADMIN" value="C:\instantclient"/>

      </settings>

    </version>

  </oracle.manageddataaccess.client>

</configuration>

---***---***---***---***---***---***---***---***---***---***---***---***

The message in the server doesn´t help:

---***---***---***---***---***---***---***---***---***---***---***---***

Exception information:

    Exception type: ConfigurationErrorsException

    Exception message: Não foi possível carregar o tipo System.ServiceModel.Activation.HttpModule do assembly System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.

---***---***---***---***---***---***---***---***---***---***---***---***

Any help??

Thanks in advance.

Luis

This post has been answered by 2823316 on Mar 20 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2015
Added on Mar 19 2015
6 comments
2,855 views