IIS Help

Post Reply
Masher
Site Admin
Posts: 3447
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Hearland
Contact:

IIS Help

Post by Masher » Fri Jul 11, 2008 10:11 am

IIS Problems you may run into.

Q. I get the following error when using the file tool to upload a file: "Maximum request length exceeded."
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

      <system.web>
       <httpRuntime maxRequestLength="16384"/>
Q. When uploading large files the web server timeouts. This also applies to EzUGCC
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. I do not have an ASPNET user on my system.
A. Run the 'Install-Repair ASP.net.bat' file found in the Tools folder of the archive.

Q. I need to repair asp.net on my system
A. Run the 'Install-Repair ASP.net.bat' file found in the Tools folder of the archive.

Q. 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

autoConfig=”True”
with
userName="<computername>\ASPNET" password="<TheNewPassword>"

replacing <computername> with the name of the computer and <TheNewPassword> with the correct password for the account.
Masher
-----------
Please do not PM me unless asked to! We are a small company and 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.

Need an affordable web control panel? Try UGCC.

Post Reply