Invalid object name 'column_name'
Your proc contains this dynamic code:

set @strSQL='insert into #RecCount(cnt) select isnull(max(a.sr_no),0) from ' + @OrderByColumn + ' a with(nolock)'


When executed, this code throws the error mentioned above because from context it seems that Some Column is passed through @OrderByColumn, but your code tries to do a SELECT from this Some Column.