Implementation

  •  07-02-2011, 10:45 AM

    Implementation

    As I am not a coding guru, I am trying to implement this demo version and see if I can get it to work. All I did was create a new upload.asp page and pasted this code into the HTML and changed the upload directory to a folder on the web server. When I then try to browse to the page to see if the uploader is visible, I get....
     

    HTTP Error 403.1 - Forbidden: Execute access is denied.
    Internet Information Services (IIS)

    The code I pasted is below.
     
     
    <% @ Language="VBScript" %>  
    <!--Step 1: Register Uploader to your page -->  
    <!-- #include file="aspuploader/include_aspuploader.asp" -->  
    <html>  
    <body>  
        <div>  
        <%
                  'Step 2: Create Uploader object     
                  Dim uploader   
                  Set uploader=new AspUploader   
                  'Step 3: Set a unique name to Uploader
          uploader.Name="myuploader"
                  uploader.SaveDirectory="uploaded_files"  
                  uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"  
                  'Step 4: Render Uploader
                  uploader.Render()
        %>  
        </div>  
    </body>  
    </html>
     
     
    Can you help me determine what I'm not doing here? I probably am not understanding the deployment steps. Can you be more detailed in:
     
    1) Register Uploader To Your Page
     
    2) Create Uploader Object
     
    3)  Set a unique name to Uploader (This is pretty obvious)
     
    4) Render Uploader
View Complete Thread