Oracle Error ORA-24242: anonymous access through a dynamically authenticated Database Access Descriptor (DAD) prohibited

Oracle Error Message

ORA-24242: anonymous access through a dynamically authenticated Database Access Descriptor (DAD) prohibited

Reason for the Error

An attempt to allow anonymous access through a dynamically authenticated Database Access Descriptor (DAD) was prohibited.

Solution

Make sure the Database Access Descriptor (DAD) is not dynamically authenticated before allowing anonymous access through it.