Configuring IIS for USoft

Previous Next

You may or may not need to configure IIS for USoft on a development machine or production machine.

IIS is the required web server for web applications with USoft-defined web pages. If you are creating a USoft Services Platform you can create non-IIS web servers. If you are using USoft to create web services, you can run these alternatively by using IIS or by using a web server defined in USoft Service Definer.

Before you can use Web Designer or run Web applications under Windows Vista or Windows 7, Internet Information Services V7 (IIS7) must be installed and ASPX must be included in the installation as an Application Development Feature. Refer to your Windows documentation for details of how to do this.

NOTE: Before making administrative changes to Windows Vista, you should temporarily disable User Account Control using the User Accounts option in the Windows Control Panel. Once you have finished making changes, enable User Account Control again.

Adding mime types

For USoft 9 Web Applications with USoft-defined UI (= USoft-defined web pages, you will need to add the Mime Type setting:

Extension

MIME Type

.json

application/json

If you plan to use the bootstrap framework, you will also want to add:

Extension

MIME Type

.woff

application/font-woff

Increasing the ASPX maximum request size

On Windows Vista or Windows 7, an ASPX page on IIS7 can only read 200 Kbytes from a request by default. This may not be enough for your USoft Web Application. If required, you can either increase this request size manually or edit an external file (for the latter, go to the text after Step 9):

1.Open the Control Panel from the Windows Start Menu.
2.Double-click "Administrative Tools".
3.Double-click "Internet Information Services (IIS) Manager".
4.Open the first item in the IIS catalog - (local website/computer).
5.Double-click the ASP icon in the IIS section of the resulting list in the main Control Panel pane. A list of properties appears (make sure that you are viewing in "Features View" - see buttons at base of window).
6.Expand the Limits Properties section of the list and find the Maximum Requesting Entity Body Limit property.
7.Change the value of this property from 200000 to a larger value, e.g. 1073741824.
8.Click the Apply option in the right-hand pane. If the change was successful, you will see the message "The changes have been successfully saved".
9.Exit the Control Panel.

You can alternatively edit an external "metabase.XML" file, which is located in the c:\Windows\System32\Inetsrv folder:

1.Stop the IIS service, otherwise you will not be able to save the edited file.
2.Open the "metabase.XML" file with an editor.
3.Find the line in the file that reads "AspMaxRequestEntityAllowed" and change it to "1073741824".
4.Save the edited file and restart IIS.

See Also

Installing the USoft Page Engine

Installing a USoft Rules Service