3

One of our sites has a long web.config - a little over the default max size for a web.config.

In windows 8 there was a registry key for the maximum allowed size of the web.config.

What is the setting in iis 10 (windows 10) to change this?

Thanks,

Ian

Ian Jagger
  • 31
  • 3

2 Answers2

5

I recommend you to move Sitecore configuration out of Web.config file like it was done it latest Sitecore versions:

<sitecore configSource="App_Config\Sitecore.config"/>

It is more convenient and you should not change your registry.

Anton
  • 9,682
  • 11
  • 38
  • 68
1

Although I do agree with Anton that moving parts to get the config smaller is the best solution, you can find an answer in this post: MaxWebConfigFileSizeInKB and IIS 10

HKLM\SOFTWARE\Wow6432Node\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB (REG_DWORD)

HKLM\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB (REG_DWORD)

Did not test this myself ;)

Community
  • 1
  • 1
Gatogordo
  • 2,629
  • 2
  • 22
  • 32