The likely cause of a lack of hot water is a fault in the settings of the tank thermostat. Check to make sure the settings are correct, and are not set to a vacation mode, or other "off" setting. Reset the thermostat and allow the system to heat up for 15 minutes before testing.