Solved

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

Posted on 2010-09-13
9
2,428 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
 
LVL 5

Author Comment

by:ubsoc
ID: 33666318
any article to link to verify that?
0
Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now