Skip to Main Content

ODP.NET

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!

UDT is not working with Web App Hosted in IIS

MOnikJun 27 2018 — edited Sep 21 2018

i've been hitting wall on last 2 days. in essence have created udt using oracle tools visual studio (odac 12c release 3 , oracle developer tools visual studio (12.1.0.2.1)), added needed attributes.

the object i'm passing udt object, having collection of udt wraps around properties.

Its works with standalone application but web hosted in IIS.

I am getting exception state that "

System.NotSupportedException: The invoked member is not supported in a dynamic assembly

"

Here is the stack ,

System.NotSupportedException: The invoked member is not supported in a dynamic assembly. at System.Reflection.Emit.InternalAssemblyBuilder.get_Location() at Oracle.DataAccess.Types.OracleUdt.GetAllReferencedAssemblies() at Oracle.DataAccess.Types.OracleUdt.SetCustomTypeMappings() at Oracle.DataAccess.Types.OracleUdt.GetUdtName(String customTypeName, String dataSource) at Oracle.DataAccess.Client.OracleParameter.SetUDTFromCustomObject(OracleConnection conn, IOracleCustomType customObj, Int32 i) at Oracle.DataAccess.Client.OracleParameter.PreBind_Collection(OracleConnection conn) at Oracle.DataAccess.Client.OracleParameter.PreBind(OracleConnection conn, IntPtr errCtx, Int32 arraySize) at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior) at Oracle.DataAccess.Client.OracleCommand.ExecuteDbDataReader

Please help me in this. Thanks in Advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2018
Added on Jun 27 2018
2 comments
1,195 views