Installing FileUpEE for ASP.NET



Upgrading to a New Version of FileUpEE

If you are upgrading to a new version of FileUpEE, remove the old version before installing the new version.


Automatic Installation
To create 3-tier upload and 3-tier download applications, you must install FileUpEE on both the web server and the file server.

To run the automatic installer, double-click FileUpEE.exe, and follow the InstallShield instructions.

During installation you will be asked if the machine on which you are installing is a web server or a file server. If you are installing on a development machine that functions as both a web server and a file server, select "Web server."

Top


Manual Installation

To install FileUpEE the first time, run the automatic installer. Once InstallShield has unpacked the dll files that contain FileUpEE, you can re-install FileUpEE manually (if, for example, you are moving FileUpEE to a different server). Even when working in .NET, the COM .dlls must be registered.

  1. Make sure that you have MSXML 4.0 SP2 installed. If it is not not installed already, download the msxml.msi from Microsoft's MSXML 4.0 Service Pack 2 web page and install it on your server.

  2. Open a command prompt window and move to the directory FileUpEE\COM.
    For example, enter cd Program Files\SoftArtisans\FileUpEE\COM.

  3. Enter regsvr32 FileUpEE.dll. A dialog box will inform you that FileUpEE.dll registered successfully; click Ok.

  4. Enter regsvr32 MimeClient.dll. A dialog box will inform you that MimeClient.dll registered successfully; click Ok.

  5. Enter regsvr32 FileUpEEProgress.dll. A dialog box will inform you that MimeClient.dll registered successfully; click Ok.

  6. Enter iisreset to reset IIS.

Top


Adding FileUpEE to an ASP.NET application

To add the FileUpEE assemblies to your application:

  1. Within your application, include a top level direcory called bin that contains the FileUpEE.dll, MimeClient.dll, FileUpEEModule.dll, and FileUpEEProgress.dll files from the directory FileUpEE\dotnet.

    The files you include in the bin directory must have the same version numbers as the files you registered to your server, either manually or using the automatic installer. Please note that FileUpEEModule.dll does not need to be registered, but must simply be added to the application's bin directory.

  2. Create a text file containing the contents of the example web.config file and save it as web.config. Make sure that the version number for the FileUpEeModule in the web.config file matches the version number of the FileUpEeModule.dll that you add to your application. Save web.config at the top level of your application.

    The FileUpEEModule can be configured using the Application Keys in the application's web.config file. An explanation of the functions of each FileUpEEModule Application key can be found on this page: FileUpEEModule Application Settings

The <httpRuntime> node is not necessary in the web.config for the FileUpEEModule to work. In order to allow large uploads, however, the executionTimeout and maxRequestLength settings must be set appropriately. This will override the default settings from the machine.config file.

Top


The HttpModule

SoftArtisans strongly recommends using the HttpModule with all uploads in ASP.NET. The HttpModule is an interceptor that resolves memory utilization and disk caching performance issues in ASP.NET uploads. Though uploads can be performed without the HttpModule, there is a severe performance penalty with any large upload that does not use the HttpModule. Other benefits include server-side progress indication, increased speed due to reduced buffer size, and three-tier upload capability.

To install the FileUpEE HttpModule to your ASP.NET application, follow the instructions on the HttpModule installation page.


Installing FileUpEE Globally

The FileUpEE assemblies - FileUpEE.dll, MimeClient.dll, FileUpEEModule.dll and FileUpEEProgress.dll - can be made accessible either globally or at the application level. If you would like the same .NET assemblies to be available to all applications, install the dll files in the Global Assembly Cache (GAC):

SoftArtisans recommends registering FielUpEE on the application level.
  1. Open a command prompt window and move to the directory FileUpEE\DotNet.
    For example, enter cd Program Files\SoftArtisans\FileUpEE\DotNet.

    The files you add to the GAC must have the same version numbers as the files registered to your server either manually or through the automatic installer.

  2. Enter gacutil /i FileUpEE.dll.

  3. Enter gacutil /i MimeClient.dll.

  4. Enter gacutil /i FileUpEEProgress.dll.

  5. Enter gacutil /i FileUpEEModule.dll.

  6. Open the file machine.config (in [Windows directory]\Microsoft.NET\Framework\[.NET version directory]\CONFIG).

  7. Add the following lines to the assemblies node of machine.config:

    <add assembly="FileUpEE, Version=x.x.x.x, Culture=neutral, PublicKeyToken=f593502af6ee46ae"/>
    <add assembly="MimeClient, Version=x.x.x.x, Culture=neutral, PublicKeyToken=f593502af6ee46ae"/>
    <add assembly="FileUpEEProgress, Version=x.x.x.x, Culture=neutral, PublicKeyToken=f593502af6ee46ae"/>
    <add assembly="FileUpEEModule, Version=x.x.x.x, Culture=neutral, PublicKeyToken=f593502af6ee46ae"/>

    The version attribute of the add assembly node must correspond exactly to the version of the assembly (dll file) added to the GAC. If you add a new version of FileUpEE to the GAC using the gacutil command, update the dll version attributes in machine.config. To get the exact version of the dll file, right-click the dll and select the Properties tab.


The FileUpEE assemblies that you add to your ASP.NET application must be the same DLL files that you registered to the GAC.

Top


Top

Copyright © 2010 SoftArtisans, Inc. All rights reserved.