I'm assuming this replacement water heater is the same type as the original? i.e. it does not have an electronic board that controls the heater?
OK, just re-read your original post...you just replaced the tank, and have the same burner, pilot light system, and such, and it worked before you changed the tank. Is that all correct?
"To compel a man to subsidize with his taxes the propagation of ideas which he disbelieves and abhors is sinful and tyrannical."-- Thomas Jefferson