1 Reply Latest reply: Oct 27, 2009 10:29 AM by gdarling - oracle RSS

    Problems with to run

    730290
      Hi,

      I´m starting to develop .net stored procedures and i´m trying to deploy and run my methods, but i get a error message from oracle.

      I have this class:

      using System;
      using System.Collections.Generic;
      using System.Text;
      using System.Data;
      using Oracle.DataAccess.Client;
      using Oracle.DataAccess.Types;

      namespace Project4
      +{+
      public class Class1
      +{+
      private static int teste = 0;

      +public static int OlaMundo() {+
      return teste+;+
      +}+
      +}+
      +}+

      I did the deploy, but when i run my stored wraper, i get this error:

      ORA-20100: The parameter is incorrect.
      ORA-06512: at "SYS.DBMS_CLR", line 211
      ORA-06512: at "ADMINISTRADOR.OLAMUNDO", line 6
      ORA-06512: at line 1

      What i did wrong?

      Thanks