Unable to connect to Ubuntu through Putty

Hello everybody,
I am having a server with Ubuntu running in it. I am having another system with Windows 7.
When I am trying to connect to Ubuntu server using putty from my Windows 7 it is throwing an error "access denied". But when I am using the same credentials in Ubuntu server, it is working fine.
What could be the issue here? How can I troubleshoot this issue? Please help out. Your help in this regard will be highly appreciated. I thank you so much in advance.
