Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8157219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:12:28+00:00 2026-06-06T17:12:28+00:00

When I tried to open my SharePoint extended site, I received error 500. The

  • 0

When I tried to open my SharePoint extended site, I received error 500. The error message was:

Cannot read configuration file because it exceeds the maximum file size

My web.config file was just about 260 KB, because it had so many <SafeControl> entries in it. After removing some of the old entries, and getting the file down to 186 KB, my site started to load correctly.

My question:

  • What is the maximum size of web.config?
  • What can be done to avoid such problems in the future?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T17:12:29+00:00Added an answer on June 6, 2026 at 5:12 pm

    Its not hard coded its defined in

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB
    

    or on 64 Bit machines

    HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB
    

    The “cutoff point” by default, unless you configure the MaxWebConfigFileSizeInKB appears to be 250Kb

    Remember you can always split your web.config files into multiple little files to get around this issue,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever I tried to open rc file in VC++ 2008, I get this error
I tried to open an SWF file in webViewClient and it works on Android
I tried to open a file with fopen() function in PHP and it output
I have tried to open a PDF file from the local disk. For example
Below is my code, i tried to open my excel file in my c#
I tried this code to open a file in Python: f = open("/Desktop/temp/myfile.txt","file1") It
I tried to open .hxs file with (with hxs extension with right click) with
When I tried to open the application here. http://amazedsaint.net/nerddinner It gives me an error
I've tried to open a file directly like fopen(/test.txt,w+) ; it works on the
I tried to open file .xcodepoj, but only one file is opened by Xcode,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.