Solved

"MaxWebConfigFileSizeInKB" value change has no affect on Win2008 SP2 32 bit

Posted on 2010-09-13
9
2,485 Views
Last Modified: 2013-06-19
Our web developers have created a large web.config file of about 261KB, which is larger than the default value max size of 250KB for this file. I found articles saying to make a new registry value HKLM\Software\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB and set the Reg_DWORD to decimal value large enough for your file size. I changed the value to 500 (decimal) which should be more than enough, but even after a server reboot it has no affect on the error we get which is "500.19 - Internal server error." and a message about the sizae of web.config is too large.

Any ideas out ther about this one?
0
Comment
Question by:ubsoc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 33666266
0
 
LVL 5

Author Comment

by:ubsoc
ID: 33666286
I know! I have IIS 7, but also installed FTPS 7.5, would that mess it up from working in any way?
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 33666314
Yes, that would cause a problem
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 5

Author Comment

by:ubsoc
ID: 33666318
any article to link to verify that?
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 33666379
Give it a test remove the FTP 7.5 see if it works
0
 
LVL 5

Author Comment

by:ubsoc
ID: 33666446
removed FTP 7.5 and rebooted. No luck, still get error
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Cannot read configuration file because it exceeds the maximum file size
\D:\inetpub\wwwroot\web.config
0
 
LVL 5

Accepted Solution

by:
ubsoc earned 0 total points
ID: 33666748
We found the issue, the value needed was Decimal 0, we were trying 500, and everythign about that but it needs to be 0.
0
 

Expert Comment

by:pbhorjee
ID: 39258002
I have to say, I've tried everything in this thread and every other source on the net, and I've gotten no closer to solving this issue.  Is anyone else still having issues with large config files?

I've attached the rewrites.config file and its included in web.config with these lines:

<rewrite>

       <rules configSource="rewrites.config"></rules>
             
 </rewrite>
rewrites.config
0
 

Expert Comment

by:pbhorjee
ID: 39259998
As an addendum to my last comment, its starting to look like MaxWebConfigFileSizeInKB is no longer supported in IIS 7.5 on x64,

http://social.technet.microsoft.com/Forums/windowsserver/en-US/4a7c5be7-1216-404d-89f0-892c1fafc425/key-in-regedit-maxwebconfigfilesizeinkb-is-not-more-supported-problem-with-iis-75-on-windows
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question