JavaPowUpload Installation (for ASP.NET)
- Extract JavaPowUpload distribution package on a web server:
- Open the Windows Explorer IIS server's root folder (by default it is c:\Inetpub\wwwroot\)
- Extract JavaPowUpload zip archive to a new folder JavaPowUpload inside the root folder. We use the root and the name as default in this manual, but you can use any name for the folder or place it into another root.
Screenshot
- Create "Application" at IIS:
- Open IIS console: Control panel->Administrative tools->
Internet Information Services->Expand "Default web site"
- For IIS 5 and 6: Expand JavaPowUpload->FileProcessingScripts->ASP.NET node, right-click the "CSharp" node and select "Properties" in context menu.
In the CSharp properties dialog box open the "Directory" tab and click Create button next to the Application name field.
Do the same for the Extra\FileProcessingScripts folder.
Screenshot
- For IIS7: Expand JavaPowUpload->FileProcessingScripts->ASP.NET node, right-click the "CSharp" node and select the "Convert to Application" option in the context menu.
Click "ok" in the new dialog box.
Do the same for the Extra\FileProcessingScripts folder.
Screenshot
- Be sure that other programmes that use this application pool have the same .NET framework version. Different versions of .NET in the same pool will cause an error!
- Check that .NET 2.0 or 3.5 enabled for application (only for IIS 5 or 6):
- Open IIS console: Control panel->Administrative tools->
Internet Information Services->Expand "Default web site". Expand the JavaPowUpload->FileProcessingScripts->ASP.NET node, right-click the "CSharp" node and select "Properties" in the context menu.
In the "CSharp" properties dialog box open "ASP.NET" tab, make sure that 2.0.xx or 3.5.xx value is selected in the ASP.NET version fileld.
Screenshot
- Check NTFS permissions for the "FileProcessingScripts\ASP.NET\CSharp\UploadedFiles" folder
- By default, the ASP.NET application works under the NETWORK SERVICE user at IIS6 and IIS7 (or under the ASPNET user at IIS5).
You should set NTFS "Write", "Read and execute", "Read", "List folders content" permissions for the NETWORK SERVICE user (or ASPNET user at IIS5) to the "UploadedFiles" folder.
Set the same permissions to the web.config files in all top level folders (like c:\Inetpub\wwwroot\web.config) !
- Do the same for the Extra\FileProcessingScripts\ASP.NET\CSharp\UploadedFiles folder
Screenshot
-
Open the http://localhost/JavaPowUpload/index.htm page in a browser to see some samples.
Note! Remember that the UploadedFiles folder is a potential source of vulnerability, therefore always prohibit scripts execution in it in the server settings, otherwise intruders can upload and execute malicious script.