| AJS 4.x
Manual | Note! This Manual is for the "Windows authentication" version, which is designed to work with existing Windows server or Active Directory accounts and Windows authentication. If you want to create accounts by yourself and store their credentials in your own HTTP Commander XML database, you need to download the "Forms authentication" version! This Manual is for the Windows authentication version only! | Web file manager Free Installation assistance Manual Home page

HTTP Commander application install at Windows 2008, 2012, 2016 (IIS 7, 7.5, 8, 8.5, 10).

Note 1! You can view
installation screencast (video) (Recommended)!
Note 2!
We offer free installation assistance for both trial and commercial licenses. You can get help via email, instant messenger or via remote access to your server. You need few minutes to get online help.
The HTTP Commander is installed like any other ASP.NET application.
To run the application, you need IIS and .NET Framework 4.6, 4.5 or 4.0 installed.

## In this section:

- IIS and .NET Framework Installation
- Automatic HTTP Commander Installation with installation wizard (EXE)
- Manual HTTP Commander Installation (ZIP package)
- How to detect application pool HTTP Commander runs under?
- How to unblock distribution archive?
- Running and configure

IIS and .NET Framework Installation

1. IIS Installation

- Open the Server manager, go to Roles section, click Add roles, and check Web server (IIS) role.
  Screenshots

- Select "ASP.NET" (ASP.NET 4.5 for Windows Server 2012, 2012 R2 or ASP.NET 4.6 for Windows Server 2016) in Application Development (.NET Framework 4.6 Features) section , "Basic Authentication" and "Windows Authentication" in Security section that are necessary for HTTP Commander.
  Screenshots

- If you plan to use Windows Search Service in HTTP Commander, to search files by content (option SearchMethodOfFiles) check feature Windows Search Service in the list of Features (for more information see Windows Search manual).
  Screenshots

- Click Next and follow the instructions.

2. .NET Framework 4.0, 4.5 or 4.6 Installation

Note! This step could be ommited for Windows 2012 and later because .NET Framework is part of OS and installed on previous step.

- Download and install .NET Framework 4.0 (it is also recommended to install Update 4.0.3), .NET Framework 4.5 or .NET Framework 4.6.

- If .NET Framework 4.x has been already installed, you need either reinstall it or execute the following command as administrator.

  On 32-bit system:

      %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

  On 64-bit system:

      %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

Note! If you plan to use the integration with Box (see parameters EnableDownloadToBox, EnableUploadFromBox, BoxClientId, BoxClientSecret), necessarily verify whether the Update KB2468871 to .NET Framework 4 is installed, and if not, install it on the server with HTTP Commander (update details info: KB2468871).

Note! Starting from Windows 2012.NET Framework is part of operating system and should be installed using Server Manager management tool.
In previous versions of Microsoft Windows running Internet Information Services (IIS), the aspnet_regiis -I command could be used to install the ASP.NET feature. Starting in Windows 8, the following problems may occur when trying to install ASP.NET using aspnet_regiis: If you run aspnet_regiis -I to install ASP.NET 4.5 on IIS8, an error message similar to the following will be displayed:

    This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.

To install or uninstall ASP.NET 4.5 on Windows 8 or Windows Server 2012 and later, use one of the following options:

- Run the following command from an administrative command prompt: dism /online /enable-feature /featurename:IIS-ASPNET45
- For Windows 8 client computers, turn on "IIS-ASPNET45" in "Turn Windows Features On/Off" under "Internet Information Services-> World Wide Web Services -> Application Development Features -> ASP.NET 4.5".
- For Windows Server 2012 computers, enable "IIS-ASPNET45" using Server Manager, under "Web Server (IIS) -> Web Server ->Application Development -> ASP.NET 4.5".

Automatic HTTP Commander Installation with installation wizard (EXE)

3.a Automatic HTTP Commander Installation...

- Download latest version of Http Commander from official web site.
- Launch downloaded EXE file with Administrative privileges: Right click on downloaded file -> "Run as Administrator"
- Follow on-screen installation instructions and wait for installation to complete.
- Check "Full trust" level:
  - In the IIS console in the right panel, open ".NET trust levels" and select "Full" in the list.
    Note! HTTP Commander also supports "Medium trust" but in this case you can provide access only to the folders inside the application root (HTCOMNET folder).
    Screenshot

- Check required NTFS permissions.
- Configure Force Logout function.
- Configure anonymous access to AnonymousDownload.ashx file if anything of the following is true:
  - You plan to work with online services such as Google Viewer, Microsoft OWA, Zoho Editor, Pixlr Editor, Adobe Image Editor, ShareCad.org.
  - You plan to use public links.
  - You enabled anonymous editing in Office (AnonymousEditingOffice setting is true).
  The process of configuring AnonymousDownload.ashx for anonymous access is detailed in the section configure anonymous access to AnonymousDownload.ashx.
  Installation wizard automatically configures Anonymous access for AnonymousDownload.ashx handler. You will only configure special account for that handler and set permissions for it on all shared folders.

Manual HTTP Commander Installation (ZIP package)

3.b Manual HTTP Commander Installation...

- Important! Unblock HTTPCommanderAJSx.x.x.zip file.

  You need to unblock distribution archive if you use Internet Explorer browser. Internet Explorer blocks files downloaded from Internet (Windows Server 2008 security feature).

  Note! Application won't work if you forget to unblock the archive ('System.Web.AspNetHostingPermission' error)!
- Place HTTP Commander code on web server:
  - Open IIS server's root folder in Windows Explorer (by default it is c:\Inetpub\wwwroot\)
  - Extract the HTTP Commander zip archive to a new HTCOMNET folder inside the root folder. You can use any name for the folder or place it not in the root. In this manual we use such placement and name as default. Be sure that you unblocked ZIP archive before it extracting (See previous step)!
    Screenshot

- Create "Application" in IIS:
  - Open IIS console: Control panel->Administrative tools->
    Internet Information Services->Expand "Sites" and then "Default web site"
  - Right-click the "HTCOMNET" folder and select "Convert to Application" in the context menu.
    In the new dialog box, click "ok".
    Screenshot

- Set Basic authentication
  - In the IIS console, select HTCOMNET node and click "Authentication" in the right tab. You should have "Basic Authentication" and "ASP.NET Impersonation" ENABLED. All the other options should be DISABLED!
    Select "Basic Authentication" option and click "Edit..." link in the right Actions tab. In the new dialog set default domain name!
    Why you need to use Basic authentication?
    Note! If you cannot find "Basic" settings, the feature has not been installed. You need to check "IIS Installation" step then.
    Screenshot

- Check "Full trust" level:
  - In the IIS console in the right panel, open ".NET trust levels" and select "Full" in the list.
    Note! HTTP Commander also supports "Medium trust" but in this case you can provide access only to the folders inside the application root (HTCOMNET folder).
    Screenshot

- Select version of Framework the application will run under
  - Open Application Pools in IIS Manager
  - Select HTTP Commander application pool. See How to detect application pool HTTP Commander runs under?.
  - Click "Basic Settings..." on Actions pane.
  - "Edit application pool" window appears
  - Select .NET Framework version in combobox.
  - Click OK button
- Check required NTFS permissions.
- Configure Force Logout function.
- Configure anonymous access to AnonymousDownload.ashx file if anything of the following is true:
  - You plan to work with online services such as Google Viewer, Microsoft OWA, Zoho Editor, Pixlr Editor, Adobe Image Editor, ShareCad.org.
  - You plan to use public links.
  - You enabled anonymous editing in Office (AnonymousEditingOffice setting is true).
  The process of configuring AnonymousDownload.ashx for anonymous access is detailed in the section configure anonymous access to AnonymousDownload.ashx.

How to detect application pool HTTP Commander runs under?

- Open IIS Manager
- Select HTTP Commander application on the Connections pane
- Click "Basic Settings..." on the Actions pane
- "Edit Application" window appears
- Read the Application pool field — that the name of the application pool HTTP Commander runs under.

How to unblock distribution archive?

- Right click distribution archive file HTTPCommanderAJSx.x.x.zip and select Properties in context menu.
- In the properties dialog, open "General" tab, click "Unblock" button and then Apply button.
  Screenshot

Running and configure

- Now you can run HTTP Commander diagnostics page. Open the application URL in your browser, e.g. "http://localhost/HTCOMNET/Diagnostics.aspx". Look if you have something non resolved issues.
- If everything fine you can run HTTP Commander main page "http://localhost/HTCOMNET/Default.aspx" and login as domain admin user. See folder edit in AdminPanel to setup access to the folders for necessary users and groups. After that try to login as simple user. If you can't login or view data or manage files then check NTFS permissions.
- We strongly recommend to read NTFS permissions section of the Documentation to be sure that permissions are set correctly for the application .
- For application configuration you need to set Application settings, also there you can read how to configure advanced features like folders mapping (WebDav), Office edit or online documents editors at IIS.
- Read FAQ section because it has answers how to increase performance and security of application and some other helpful solutions.