DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Application Error

Sort:
You are not authorized to post a reply.





Growing Member





    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






    Veteran Member





      For custom themes I recommend https://www.nvquicktheme.com/ or https://2shine.org/
      Personally, I use themes for layout and looks only. All logic and other fancy stuff in the modules.

      The error you get is because DNN is looking for something that is not there. If the persona bar is available, you can revert the default theme to Xcillion. Don't forget to set the appearence of the homepage to Xcillion as well as that page is set seperately. If the persona bar is not available, you can use SSMS to update the table.

      If you want to move forward with your current custom theme, you need to find out which part is DNN is looking for. My guess would be that containers are not located in the expected location.
      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com





      Growing Member





        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






        New Around Here





          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.






          Growing Member





            Hi All,

            Thanks for the help,

            I followed this tutorial https://www.youtube.com/w...wIbNZFd&index=16 and my problem got solved.

            Regards

            Tarunjit Singh

             






            Veteran Member





              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.  

               

              You are not authorized to post a reply.

              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:

              1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
              2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
              3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
              4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
              5. No Flaming or Trolling.
              6. No Profanity, Racism, or Prejudice.
              7. Site Moderators have the final word on approving / removing a thread or post or comment.
              8. English language posting only, please.

              Would you like to help us?

              Awesome! Simply post in the forums using the link below and we'll get you started.

              Get Involved