title: asp.net with oracle connectivity issue
body: <p>I am trying to add parameters using oracle as database using the following code
  :</p>
  
  <pre><code>for (int i = 1; i &lt;= count; i++)
  {
      var parameterName = ":ref_cur" + i;
      DbParameter parameter = Acidaes.Data.DbHelper.CreateRefCursorParameter(
          parameterName, 
          ParameterDirection.Output);
      command.Parameters.Add(parameter);
  }
  </code></pre>
  
  <p>Following Crash occurs while adding parameters</p>
  
  <blockquote>
    <p>[A]Oracle.DataAccess.Client.OracleParameter cannot be cast to [B]Oracle.DataAccess.Client.OracleParameter. Type A originates from 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' in the context 'Default' at location 'C:\WINDOWS\assembly\GAC_32\Oracle.DataAccess\2.112.2.0__89b483f429c47342\Oracle.DataAccess.dll'. Type B originates from 'Oracle.DataAccess, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' in the context 'Default' at location 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\Oracle.DataAccess\v4.0_4.112.2.0__89b483f429c47342\Oracle.DataAccess.dll'.</p>
  </blockquote>
  
  <p>Didn't find way to resolve this crash. </p>