The following error occurs when adding a column to a new or existing User Defined Function that returns a table. The Create | UDF menu option was used to create a UDF and a table was selected for the returned results. The Column field was selected and the Add button was clicked to add column names to the returned results. The following error occurred:
********************************************************************************
Exception Information
********************************************************************************
Exception: System.MissingMethodException
Message : No parameterless constructor defined for this object.
Stack Trace:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at ...