Thanks for the reply but if i disabled security in the mongod.conf file, it works.

David