@Brenden, I was able to rebuild the website after applying some fixes to API. Since I switched my system to Kentico 8, so system was asking for new license.
At the time of visiting the Administration Panel to update the license, I was getting this error as mentioned.
Regards
Aashish Khandelwal
Technoscatter - Drive To Technology