How to restore the default skin when a skin error occurs in dnn settings

Source: Internet
Author: User
Tags dnn
Sometimes, after downloading a dnn skin, you can't enter the management interface. How can I restore the default skin after a skin error is set?

Although it is a horse in the dark, you can preview the application before it can avoid a lot of trouble.
Bad manners

Using a dnn bug, using host login, entering the Skinsrc = % 5bg % 5d/skins/dnn-blue/horizontal % 20 menu % 20-% 20 fixed % 20 width. Of course, change to your website URL, you can see the skin Management page.
Quick Method

Delete the uploaded skin directory under portals \ _ Default \ skins. Because dnn cannot find this skin, the default skin is automatically used.
Advanced Method

Find the skins table in the dnn database and clear all the content in the table. The default skin settings are restored.
If the effect is not visible after modification, it is because of the cache. Add a few spaces in Web. config and save the space so that the effect can be seen after the reload. If you are setting skin for a page, you should modify the skinsrc or containersrc section in the tabs table, because the skin configuration is hierarchical and the skins table stores the website configuration, the tabs table stores page configurations.

Thanks to the "microdream software" and "Looking Forward" for their solutions!

Author m2land, reprinted please indicate the source, author blog address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.