How to check and solve when a license file fails to be loaded on switch?