Program works when RESET is tied to VCC,doesn't w/ resistor?

Curious why my atmega8 runs code fine when the reset pin is tied directly to VCC (when shorted to ground it resets) but with a 10k resistor in place (brown, black, orange,) it wont run.

With my AVRISP mkII programmer hooked up it WILL run with the resistor in place.

Can someone explain this to me? Thanks!

Have you checked the resistor with a DVM? Is it connected properly?

Leon

As Leon said, with the resistor connected you should still see 5V between reset and GND. If you don’t then it probably isn’t connected properly and your program isn’t running because it’s randomly resetting.