NXT program not running
Did you use in program the same motors as you check via View? For example, maybe you view A and B motors, but in program uses C and D?
If you have the following behaviour:


  You check motors via View, then create a program and it works. After
  that you substitute NXT brick for another one, check the same motors
  via View but that same program doesn't work.


In that case I'd suggest to refresh firmware.