Webserver Help

Post Reply
Site Admin
Posts: 3617
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact: Webserver Help

Post by Masher »

These are various issues. Web.config issues apply to all web servers (apache, EzUGCC, IIS, etc.)

Q. I get the following error when using the file tool to upload a file: "Maximum request length exceeded." or "Upload size exceeds httpRuntime limit."
A. You need to increase the the max request length.
  • Find the following tag in Web.config: <system.web>
  • Do one of the following:
    • If the <system.web> section of the file has an element called httpRuntime, add an attribute called maxRequestLength and set it equal to the desired limit (in KB). For example, maxRequestLength="16384" enables transfers of up to 16MB.
    • If there is no element called httpRuntime, add one as shown below:

      Code: Select all

       <httpRuntime maxRequestLength="16384"/>
  • Do note there can be multiple httpRuntime lines in the Web.config, if it's between a <location></location> tags the settings only apply to that one page, and that feature does not work with Mono currently.

Q. When uploading large files the web server timeouts.
A. You need to increase the time the webserver waits before thinking a page has hung and halts execution. Try adding the following into your web.config in between the <system.web></system.web> tags. Tweak the executionTimeout setting. Default is 90 secs (1.5 mins). Maybe try 5 mins (300).

Code: Select all

Select all<httpRuntime executionTimeout="300" maxRequestLength="16384" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" />
Q. I'm prompted for a user name/password when I try to access the panel
A. This is generally caused when moving files to the web folder. When you move files within the same volume windows maintains the permissions on the files. In the future copy the files. To fix the problem assign the iusr_<computername> and SYSTEM with read/write permissions to the folder and force permissions in sub folders to be overwritten (check box option when you click the advanced button).

Q. (Win) I do not have an ASPNET user on my system.
A. Run the 'Install-Repair' file found in the Tools folder of the archive.

Q. (Win) I need to repair on my system
A. Run the 'Install-Repair' file found in the Tools folder of the archive.

Q. (Win) I had to change the password for the ASPNET user so that the monitor could run as the ASPNET user. Now the web panel doesn't work
A. Open the file C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config. Locate the processmodel tag after <system.web>. Replace

userName="<computername>\ASPNET" password="<TheNewPassword>"

replacing <computername> with the name of the computer and <TheNewPassword> with the correct password for the account.
Last edited by Masher on Sat Sep 26, 2020 4:11 am, edited 1 time in total.
Reason: Updated info
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply