Solved

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

Posted on 2010-09-13
9
2,450 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
  • 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

808 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