R
Renae
Probably been asked before but I cannot find a resolution:
I receive the following error when calling a stored proc in Oracle but
this works with v1.0 of the framework:
The OracleParameter with ParameterName 'p_Subscriber_ID' is already
contained by another OracleParameterCollection.
Any help would be appreciated!
Renae
Code snippet:
Dim ps As New OracleParameterCollection
ps.Add(New OracleParameter("p_Subscriber_ID",
OracleType.VarChar, 9, ParameterDirection.Input, False, 0, 0, "",
DataRowVersion.Default, PstrSubscriberId))
ps.Add(New OracleParameter("p_Subscriber_Password",
OracleType.VarChar, 15, ParameterDirection.Input, False, 0, 0, "",
DataRowVersion.Default, PstrPassword))
ps.Add(New OracleParameter("p_Result_Msg",
OracleType.VarChar, 256, ParameterDirection.Output, True, 0, 0, "",
DataRowVersion.Default, MDbNull))
ps.Add(New OracleParameter("p_Error_Msg",
OracleType.VarChar, 256, ParameterDirection.Output, True, 0, 0, "",
DataRowVersion.Default, MDbNull))
I receive the following error when calling a stored proc in Oracle but
this works with v1.0 of the framework:
The OracleParameter with ParameterName 'p_Subscriber_ID' is already
contained by another OracleParameterCollection.
Any help would be appreciated!
Renae
Code snippet:
Dim ps As New OracleParameterCollection
ps.Add(New OracleParameter("p_Subscriber_ID",
OracleType.VarChar, 9, ParameterDirection.Input, False, 0, 0, "",
DataRowVersion.Default, PstrSubscriberId))
ps.Add(New OracleParameter("p_Subscriber_Password",
OracleType.VarChar, 15, ParameterDirection.Input, False, 0, 0, "",
DataRowVersion.Default, PstrPassword))
ps.Add(New OracleParameter("p_Result_Msg",
OracleType.VarChar, 256, ParameterDirection.Output, True, 0, 0, "",
DataRowVersion.Default, MDbNull))
ps.Add(New OracleParameter("p_Error_Msg",
OracleType.VarChar, 256, ParameterDirection.Output, True, 0, 0, "",
DataRowVersion.Default, MDbNull))