Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to call postgres stored procedure using DevArt library.
I am getting the error message as "function doesn't exist 0x80004005".

Though I am calling stored procedure its returning as a function doesn't exist in error message. Could you please help me out.

here is the code snippet.
SQL
Protected int ExecuteNonQuery(CommandType commandtype,string commandtext,params IDbDataParameter[] parameters)
{
using (var dbConnection=GetDbConnection())
{
using (var dbCommand=dbCommand.CreateCommand())
{
dbcommand.CommandText="StoredprocedureName";
dbcommand.CommandType=commandType;//commandType will be passed as StoredProcedure
dbcommand.parameters.AddRange(parameeters);
int result=dbcommand.ExecuteNonQuery();
}
}


What I have tried:

Verified all the stored procedures.
Posted
Updated 25-Feb-21 23:40pm
v3

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900