I was creating an application and everything was working fine. But when i uploaded the website on the server the following exception loaded…
Theme ‘Default’ cannot be found in the application or global theme directories
There are two ways to solve this problem:
1. Check that you have a sub directory named ‘Default’ (or the theme name you chose) and the necessary files in the App_Themes directory.
2. If you are running this website/web project from a sub application or sub directory in the wwwroot, check that the folder is set as ‘Application’
(in IIS find the folder where the website resides, right click, select properties and check that the Create Application button is disabled. If not click it to set the website as application).