When asking for help please help us by supplying as much detail as possible relating to the problem.
In this case "i assembled a computer" new parts or used.
"error saying that the system cant partition the drive" new or used, previous OS present on drive? if so which OS.
Which version of Windows 7, OEM, full retail or upgrade?