Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,I have DOTNETNUKE website. I was design a page when suddenly this error occured:


Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070032
Config Error Cannot read configuration file because it exceeds the maximum file size
Config File \\?\D:\SaviceSite\Install-DNN7\web.config
Requested URL http://localhost:2021/ساویس-ابنیه
Physical Path
Logon Method Not yet determined
Logon User Not yet determined


VB
Config Source

   -1:
    0:




and it doesnt come up any more!!!!!!!! would some body please tell me what to do?
Posted

The error message states:
Cannot read configuration file because it exceeds the maximum file size

I believe the default max size is 250kb.
You can change it using registry at
HKLM\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB
(you should create it because it does not exists).

You may also split your config file using the configSource attribute...

Regards
Peter
 
Share this answer
 
Comments
behish 1-Oct-13 0:47am    
How can I create it?
Kornfeld Eliyahu Peter 1-Oct-13 1:15am    
You should use the regedit.exe to do so. But if you not familiar with registry edition you should know that it can be catastrophic to edit the wrong key or to put in the wrong value...
See these pages:
http://support.microsoft.com/kb/136393
http://support.microsoft.com/kb/310516
http://www.youtube.com/watch?v=Pq1wMhRDxQQ
behish 2-Oct-13 8:48am    
I change the MaxWebConfigFileSizeInKB to 99999999 but still have the same error
Kornfeld Eliyahu Peter 2-Oct-13 9:28am    
Are you running on a 64 bit machine?
In this case it may be under HKLM\SOFTWARE\Wow6432Node\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB...
It is also possible that you only need an iisreset...
behish 3-Oct-13 1:27am    
It works now,thanks a lot.
in the web config you find tag with attribute MaxBufferSize and there are some more attribute near by with Size suffix. Just increase the size to something like "9999999". MaxBufferSize and MaxPoolSize i think need to be same.

Just try this way. Hope that will help.

_SG
 
Share this answer
 
Comments
behish 1-Oct-13 0:47am    
I don't find any tags with attributes you siad!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900