4

I have a problem executing oracle procedures from Visual Studio 2008's Server Explorer,

when i try to execute a procedure all the input parameters are doubled!

it only happend to me in one workstation, i've tried to reinstall oracle products, but it doesn't helped me...

i get the following error message when i try execute the procedure:

ORA-06550: line 1, column 7:
PLS-00703: multiple instances of named argument in list
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

My Data Connection type is "Oracle Database" and the provider is ".NET Framework Data Provider for Oracle".

Best Regards, Guy Bertental

OMG Ponies
  • 325,700
  • 82
  • 523
  • 502
Guy Bertental
  • 584
  • 2
  • 10
  • 24

3 Answers3

8

May be you have added same "OracleParameter" multiple times. Please control your parameter list and remove repeated parameter(s) from your code;

Fuat
  • 789
  • 9
  • 14
6

use oracom.Parameters.Clear(); after executenonquery();

animuson
  • 53,861
  • 28
  • 137
  • 147
grishma
  • 61
  • 1
  • 3
1

Service Pack 1 for VS2008 solved the problem...

Guy Bertental
  • 584
  • 2
  • 10
  • 24