Executing a .Net Stored Procedure Fails With: 'ORA-20100: AppDomain Could not be Created for the Specified Security Level'

(Doc ID 403318.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database Extensions for .NET - Version 10.2.0.2.20 and later
Microsoft Windows (32-bit)
Microsoft Visual Studio .Net 2005


Symptoms

***Checked for relevance on 20-Jun-2011***

Executing a .NET Stored Procedure in Microsoft Visual Studio .Net 2005 fails with the following error:

ORA-20100: AppDomain could not be created for the specified security level
ORA-06512: at "SYS.DBMS_CLR", line 152
ORA-06512: at "ODPNET.GETDEPTNO", line 7

Changes

The Oracle Database Extensions for .Net and Visual Studio 2005 was installed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms