Hi Again,
Schema check helped. I checked for 1.5.5 instead of 1.5.6 as the systems was showing the db was 1.5.5.
Found issue with field type of val_function field in the configuration table.
On changing the field type of val_function from mediumtext to TEXT the issue got resolved.
Thank you all for the help.
Regards
Balaji