If you ever encountered this problem when activating or inactivating a plugin, Adam Tuttle explains a solution.