Hi All,
I have DNN 9.11.0 installed on my local. I have installed DotNet Nuke Project Templates package from path https://marketplace.visua...entProjectTemplates.
I simply created a C# Skin/Theme project named “MyFirstCustomTheme” using above mentioned project templates in VS 2019 at path C:\Websites\dnndev.me\Portals\_default\Skins (of DNN site installation). But later I simply deleted the folder “MyFirstCustomTheme” from path C:\Websites\dnndev.me\Portals\_default\Skins.
After deletion of above mentioned folder I am getting "Application Error" while trying to open url dnndev.me. On opening dnndev.me url is getting redirected to http://dnndev.me/Default....curred&content=0 and page is showing “Application Error”.
When I opened IIS and browse to folder dnndev.me > portals > _default > skins, I got error “Can not find part of the path C:\Websites\dnndev.me\Portals\_default\Skins\MyFirstCustomTheme”.
I have restarted IIS and have even restarted my desktop but nothing seems to be working. I am not able to solve this problem.
Please help me on this.
Regards
Tarunjit Singh
Hi Tycho de Waard, Thanks for the help. Can you please share the sql I need to execute to set the default theme to Xcillion. Also please share the sql to set to set the appearence of the homepage to Xcillion as well.
I just checked PortalSettings table it is not showing "CustomTheme" theme refrence, where as reference for "Xcillion" exists.
Select * from PortalSettings where SettingValue like '%Custom%'
I also checked "Tabs" table but didn't find reference for "CustomTheme", where as refence for "Xcillion" exists.
Select* from Tabs where SkinSrc like '%Custom%' Select* from Tabs where ContainerSrc like '%Custom%'
Please help. I am not able to move forward. Regards Tarunjit Singh
Hi,
Could you have a look at the dotnetnuke.config file located at the root folder of your DNN installation? It could contain settings linked to the custom skin you've deleted.
By default, you should have something like:
<skinningdefaults> <skininfo folder="/Xcillion/" default="Inner.ascx" admindefault="Admin.ascx" /> <containerinfo folder="/Xcillion/" default="Title_h2.ascx" admindefault="Title_h2.ascx" /> </skinningdefaults>
When DNN encounters errors when loading the current skin, it uses those settings.
Thanks for the help,
I followed this tutorial https://www.youtube.com/w...wIbNZFd&index=16 and my problem got solved.
Posted By Tarunjit on 10/24/2023 11:39 PM Hi Tycho de Waard, Thanks for the help. Can you please share the sql I need to execute to set the default theme to Xcillion. Also please share the sql to set to set the appearence of the homepage to Xcillion as well. I just checked PortalSettings table it is not showing "CustomTheme" theme refrence, where as reference for "Xcillion" exists. Select * from PortalSettings where SettingValue like '%Custom%' I also checked "Tabs" table but didn't find reference for "CustomTheme", where as refence for "Xcillion" exists. Select* from Tabs where SkinSrc like '%Custom%' Select* from Tabs where ContainerSrc like '%Custom%' Please help. I am not able to move forward. Regards Tarunjit Singh
I would always advise against running any queries directly against DNN until you're intimately aware of how the DNN API works. To do something like this, you should use the UI in DNN itself. (Except for editing the default site template, that was mentioned.) You'll do yourself a ton of favors and save yourself an unknown (but very large) number of hours in the future.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.