The laptop should run on both, however many laptops won't work if their battery is fully dead or removed.
Try charging it when the laptop is turned off (not hibernate or sleep but off). If it charges then, you probably need to replace the charger. However if it still won't charge when off, I would start by replacing the battery. If that doesn't resolve it then replace the charger.