Check the permissions of the shared folder and make sure you have included everyone read write access
If it still fails, check that the encryption on both machines matches if they are windows 7
Last but should be first, disable any firewall and try especially if you are using avg antivirus.