Aurigma Image Uploader 6.5 Dual
This topic discusses how to deploy ASP demo applications on your server.
ASP environment does not provide functionality required to process uploaded files by default. You should install third-party components. Below you will find several examples of upload components, which you can use.
|Dundas Upload||http://aspalliance.com/dundas/default.aspx||Supports buffering of uploaded data to the server drive. It is good for processing large uploads. The only disadvantage of this component is the absence of technical support.||Free|
|ABCUpload ASP||http://www.websupergoo.com/abcupload-1.htm||Commerical upload component. It can be obtained for free if you provide link to their website on your one.||$149 / Free with back link|
|Persists AspUpload||http://www.aspupload.com/||Yet another popular upload component.||$149|
To switch between different upload components:
- Open the config.asp file in the sample directory.
- Comment the line with the component currently in use.
- Uncomment the line with the required component.
To get Server Imaging Sample sample working, you should install Aurigma Graphics Mill component. An evaluation version is available in this location:
Hash Generation Component
Robust Upload Sample requires to calculate hash value based on the uploaded file. ASP does not provide built-in facility for this.
To be able to run this sample, use free hash generation ActiveX component developed by Aurigma. It is distributed along with Image Uploader SDK. Also, the component with the source code can be found in the following location:
- Make sure that all required components are installed.
- Copy all the files from the Samples\ASP subfolder of the Image Uploader SDK installation folder into some directory on your web server.
- Make sure that the Gallery folder has enough
- On Windows NT/2000/XP you should grant the modify permission to the internet guest user (IUSR_<machinename>).
- On Windows 2003 you should grant the modify permission to the NETWORK SERVICE group.
- Run the browser and type the URL of the demo applications start page (default.asp in the root of the ASP folder).
Problem with ../ Path
If you get the error that says that ../ (a parent path) is disallowed in the Server.MapPath method, go to the Internet Information Services -> Web Site Properties -> Home Directory -> Configuration... -> Options and set the Enable Parent Path checkbox.
Cannot Upload More Than N Megabytes
The most typical reason of this problem is server-side limitation for maximum POST request length. As usual it is specified to reduce risk of DoS attacks. If the request size exceeds specific value, it is considered as malicious and the upload is broken. As usual Image Uploader displays the following error message:
Upload failed (the connection was interrupted).
In IIS version 6.0 it is configured via the AspMaxRequestEntityAllowed element of the MetaBase.xml file, which stores miscellaneous IIS settings. By default this value is set to 200 KB.
To resolve the problem, follow these steps:
- Open the MetaBase.xml file that is stored in the same folder with IIS files (typically, c:\Windows\System32\Inetsrv). You can use any XML editor or even plain text editor like Notepad.
- Find the AspMaxRequestEntityAllowed key.
- Increase its value. For example, to set 1 GB, specify 1073741824.
- Save changes and try again.
If you have URLScan installed and still experience this problem, go through the following steps:
- Open the UrlScan.ini file which is typically located at C:\Windows\system32\inetsrv\urlscan folder.
- Set the MaxAllowedContentLength key to the desired value.
- Save changes and restart IIS.