Solved

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

Posted on 2010-09-13
9
2,511 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

717 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