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).
Thanks !! How simple. I can’t tell you how long I have been looking for this one.. Or should I say, the one that worked.
Hi, This is Nadeem
I am also facing the same problem having window 2003 with sp 2 and iis 6.
My web application is running well in win xp and but when depoying in win 2003, its giving some error like theme folder ‘Blue’ Not found and even one class file under app_code is also not availble.
Please let me update, wether have you got solution or not ? I kept the theme setting in web.config file..
<pages buffer=”true” theme=”Blue”…
This Blue folder is existing in App_themes and we are not using any sub website or other sub folder for aspx. file. and In folder, we kept the datalibrary.vb class file. But none is available at runtime. And most interesting thing is that while we running the same application thru vstudio2005,it running fine but from browser thru IIS, it giving such problems.
Please advice if you have some solution.
Thank you so much, I searching on web since few days to resolve this error until I found this Forum. This page solved my problem.Even the Godaddy team was unable to trobleshoot to this concern.
Godaddy is the worst web hosting and domain company.
ciappara Thanks again..
I would agree with that statement – I never had that many configuration issues with any of my hosting providers as GoDaddy. And Again – all the sudden all of my sites are broken, because some-thing got changed on the GoDaddy side and I am getting the theme folder not found error.
thank you soooooooo much
Glad it helped!! :]
Theme ‘Blue’ cannot be found in the application or global theme directories.
In vs 2005.
Instead of the folder named ‘Default’, in this case it might be that the folder not found must be named ‘Blue’. Follow the steps above and instead always name the folder ‘Blue’ instead of ‘Default’ when needed.
I fixed my problem creating a virtual directory for that sub-application pointing to that app_themes folder, like if that folder existed in the sub application.
Server Error in Application.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Theme ‘Theme’ cannot be found in the application or global theme directories.
Source Error:Line 21:
i had a error message like this can anyone help me on this.