## Aurigma Image Uploader 7.0.37

# Configuring ASP.NET

- Collapse All Sections
- Language Filter ( all languages )

Typically, default server configuration does not allow to upload files with Image Uploader. This topic describes how to configure a server you are going to deploy Image Uploader properly.

## Configuring Permissions

The folder where you are going to save files should have modify permissions. Depending on your operating system it can be set in one of the following ways:

- On Windows NT/2000/XP you should grant the modify permission to the Internet guest user (IUSR_<machinename>).
- On Windows 2003 Server you should grant the modify permission to the NETWORK SERVICE group.
- On Windows Vista/2008 Server/7 you should grant the modify permission to the account your site application pool is running under, Network Service by default.

## Configuring Maximum POST Request Length

Usually limitation for maximum POST request length is specified to reduce the risk of DoS attacks. If the request size exceeds a specific value, it is considered malicious and the upload would be broken.

If you are going to upload files larger than the default limitation, increase the latter.

For IIS 7:

1. Go to C:\Windows\System32\inetsrv\config\applicationHost.config and change

   ### XML

       <section name="requestFiltering" overrideModeDefault="Deny" />

   to:

   ### XML

       <section name="requestFiltering" overrideModeDefault="Allow" />

2. Add to your application web.config the following sections:

   ### XML

       <system.webServer>
           <security>
               <requestFiltering>
                   <requestLimits maxAllowedContentLength ="2147482624" /> <!-- in bytes -->
               </requestFiltering>
           </security>
       </system.webServer>

   ### XML

       <system.web>
            <httpRuntime maxRequestLength="2097151"/> <!-- in kilobytes -->
       </system.web>

For IIS 6:

Add to your application web.config the following section:

### XML

    <system.web>
        <httpRuntime maxRequestLength="2097151"/> <!-- in kilobytes -->
    </system.web>

If you have URLScan installed and still experience this problem, go through the following steps:

1. Open the UrlScan.ini file which is typically located at C:\Windows\system32\inetsrv\urlscan folder.
2. Set the MaxAllowedContentLength key to the desired value (in bytes).
3. Save changes and restart IIS.