Update table in Oracle using ExecuteNonQuery is giving exception Oracle exception- Network session: end of file.

Chandran, Vinitha 40 Reputation points
2023-11-17T09:02:23.6633333+00:00

I was trying to create a C# console application to execute the Oracle package.

I was able to establish the connection successfully and using Execute Scalar i can be able to select the set of data from the same table using some inline query.

But for executing the package/ executing simple inline update query, i am facing issue. Once ExecuteNonQuery statement executed. the application is not responding and it not moving to next line of code. Also, my update query is not reflecting in Oracle table too.

After long waiting (20 mints) i am getting Oracle exception- Network session: end of file.

Please share any solution if you have same experience.

Thanks

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.