I face this error in two scenarios with same Visual Studio 2013 user.
“Visual Studio 2013 – License error 0x00000004 – Unable to locate online license on disk”
[av_image src='http://www.ipaddresshost.com/wp-content/uploads/2014/10/Visual-Studio-2013-–-License-error-0x00000004-–-Unable-to-locate-online-license-on-disk1-244x300.png' attachment='3317' attachment_size='medium' align='center' animation='no-animation' link='' target='' styling='' caption='' font_size='' appearance=''][/av_image]
It was recommended to re-install Visual Studio 2013 and delete some of the files from different locations but I fix this issue with below mentioned solution and believe it will help you as well. If it helps you as well, please leave a message or do let me know to update any of your suggested solution for the next reader.
After this, Start Visual Studio 2013 and it will ask you again for login. It will required few minutes, sit with patience and your Visual Studio will start working..