1 Reply Latest reply on Feb 5, 2013 7:14 PM by Jeff Smith Sqldev Pm-Oracle

    .Net/C# NLog database connection is not working

    979840
      here is my .config file

      <target name="NLOGDatabase" xsi:type="Database" keepConnection="false"
      useTransactions="true"
      dbProvider="Oracle.DataAccess"
      connectionString="Data Source=devl;User Id=;Password=;Integrated Security=no;"
      commandText="insert into net_app.NLOGTest2( LOG_LEVEL ,MESSAGE) values( :LOGLEVEL,:MESSAGE)">
      <parameter name="LOGLEVEL" layout="${level:uppercase=true}"/>
      <parameter name="MESSAGE" layout="${message}"/>
      </target>

      in my project i have a reference to:

      Oracle.DataAccess version 4.112.3.0

      What am i doing wrong?

      Edited by: 976837 on Feb 20, 2013 1:48 PM