Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2609
  • Last Modified:

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

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
ubsoc
Asked:
ubsoc
  • 4
  • 3
  • 2
1 Solution
 
Darius GhassemCommented:
0
 
ubsocAuthor Commented:
I know! I have IIS 7, but also installed FTPS 7.5, would that mess it up from working in any way?
0
 
Darius GhassemCommented:
Yes, that would cause a problem
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
ubsocAuthor Commented:
any article to link to verify that?
0
 
Darius GhassemCommented:
Give it a test remove the FTP 7.5 see if it works
0
 
ubsocAuthor Commented:
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
 
ubsocAuthor Commented:
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
 
pbhorjeeCommented:
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
 
pbhorjeeCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now