Search code examples
c#asp.net.netdotnetnukedotnetnuke-settings

DotNetNuke web.config exceeding maximum size


I have a website using DotNetNuke, and after a few days running normally it started to return "Internal Server Error" for any request, including images or any other file type. After some investigation, I noticed that web.config file size had exceeded the maximum allowed size, due to several upgrade comments added by DotNetNuke. Replacing web.config with the original "clean " version solved the problem temporarily, but DNN is still writing those comments until reach the size limit.

Does anyone knows a way to change/disable this behavior, so I don't have to almost-daily clean my web.config? Thanks in advance!


Solution

  • I think you need to look into why DNN is continually writing to the web.config, something is wrong with your installation, DNN should only write at the time you perform an upgrade. When you last upgraded did you have any errors?

    Perhaps around the telerik installation? Check your INSTALL folder (and subfolders) for any ZIP files, after an upgrade completes there shouldn't be any ZIP files remaining in those folders.