Hasty Generalization is a logical fallacy in which a person draws a conclusion without providing sufficient data to support it.
Stan: My friend Dan was experiencing serious problems with a project similar to mine but he survived so I should also keep on trying with my project.
Mary: Your friend Dan's case is not representative of the whole population who had similar projects. He succeeded but it doesn't mean that all other people have succeeded.
Full dialogue here: All argumentation fallacies