Changed IIS fileupload size

Monday, 13 April 2009 13:16 by scngan
In response to : http://forums.asp.net/t/1370582.aspx

1. Stop the World Wide Web Publishing Service. This can be done from the Windows Command Prompt as: net stop w3svc
2. In the C:\Windows\System32\Inetsrv directory, locate a file called metabase.XML.
3. Copy the original file into Notepad and find the line "AspMaxRequestEntityAllowed"
4. Change the value of this entry to "1073741824". (This specifies a maximum post size of 1 GB)
5. Save the file
6. Start the World Wide Web Publishing Service. This can be done from the Windows Command Prompt as: net start w3svc

Note: If the Metabase.XML file is locked, try starting Windows in Safe-mode to be able to change that file.

Note: If the server is accessed remotely and Safe-mode is not an option, please check the following link which explains how to edit the Metabase.XML while server is running.
http://www.microsoft.com/technet/prodtechnol/exchange/guides/E2k3TechRef/5ac1fa4d-8bb3-496b-ad9d-e71c50468d93.mspx

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:  
Categories:   Technical Stuff
Actions:   | E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed
Comments are closed