Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems connecting to Oracle queue using C#

User_QLGOSApr 6 2022 — edited Apr 6 2022

I'm trying to connect to an Oracle queue using C#.
I'm using the Oracle.DataAccess.Client DLL:
OracleAQQueue queue = new OracleAQQueue("BANINST1.GP_SYNC_Q", connection, OracleAQMessageType.Udt, "BANINST1.GP_SYNC_Q");
Where BANINST1 is obviously the schema and GP_SYNC_Q is the queue name. The DB connection is established, as I can run SQL using the connection object.
But I keep getting the following error when I run queue.Dequeue():
OCI-22303: type "BANINST1"."GP_SYNC_Q" not found
I can't seem to get past this. I've confirmed that the permissions are correct. The user has both Queue and Dequeue privileges. Any ideas on this? Much appreciated!

Comments
Post Details
Added on Apr 6 2022
0 comments
318 views