changed altenator and wire harness still have problems

i replaced my altenator and my hacked up harrness and kno just by pressing both my power window controls my car will die i have a b20 so the entire harness isnot hooked up (what isnt is the temp sensor for the rad. fan, have that hooked up to a toggle switch)
could it be a ground issue plz help thanks

It is either a grounding problem or a problem on the power side.

Have you checked all the main ground and power connections?

Grounds at batt., chassis ground under batt. and ground at engine, all three should be removed, both surfaces cleaned and then reconnected.

Power at batt., batt. to engine bay fuse box, alt., alt. to engine bay fuse box and the main fuses, [screw down] in engine bay fuse box, again the connections should be undone, both surfaces cleaned and then reconnected.

Once the above has been done and if you still have a problem you can have a proper load check done on the charging system, free at most batt./alt. shops. 94