When executing ADO data in .Net you can't assign a .Net null value to a parameter. This equates to not providing a value for the parameter.
I'd expect that
Session("UID")
is null?
If you want to provide null as a parameter value you must use
DBNull.Value
Replace this line:
adoParamInput.Value = Session("UID")
With:
adoParamInput.Value = Session("UID") ?? DBNull.Value