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.