Use Arduino Mega 2560 as ISP (Bootloading ATMEGA328P-PU)

Yes i upload the isp sketch and then i place the capacitor between reset and 5v.

RESET and +5V? Did you mean to write RESET and GND? Or did you connect it incorrectly?