Object required: 'jfile'

Last post 12-18-2011, 2:55 PM by jerry2. 16 replies.
Sort Posts: Previous Next
  •  01-24-2010, 9:21 PM 58330

    Object required: 'jfile'

     
    I keep getting this error when i use form-multiplefiles.asp - WHY?

    Microsoft VBScript runtime error '800a01a8'
     
    Object required: 'jfile'

    /multiupload/aspuploader/include_aspuploader.asp
    , line 438
     
     
    All the files is in place at the server and the files are getting uploaded.
     
     
     
  •  01-25-2010, 11:21 AM 58345 in reply to 58330

    Re: Object required: 'jfile'

    Can you create a temp folder, assign guest account write permission to this folder?
     
    Then use it the temp folder of uploader:
     
    uploader.TempDirectory="/somefolder"
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-25-2010, 12:03 PM 58346 in reply to 58345

    Re: Object required: 'jfile'

    I'm not quite sure what you mean, but I can set up an FTP account so you can test?

    The files uploaded are stored on the server, so write rights are ok.
  •  01-25-2010, 12:14 PM 58348 in reply to 58346

    Re: Object required: 'jfile'

  •  01-25-2010, 1:02 PM 58352 in reply to 58348

    Re: Object required: 'jfile'

    You got mail :-)
  •  02-08-2010, 12:45 PM 58589 in reply to 58352

    Re: Object required: 'jfile'

    Your installation steps is not correct, a fresh installation can fix this issue, make sure you have followed steps at http://cutesoft.net/asp/Deployment.asp
     
    Regards ,
    Eric
  •  02-10-2010, 8:53 AM 58635 in reply to 58589

    Re: Object required: 'jfile'

    I have the same issue. here is my code:
     
    <!-- #include file="aspuploader/include_aspuploader.asp" -->
    <%
    Dim uploader
    Set uploader=new AspUploader
    uploader.MaxSizeKB=10240
    uploader.Name="myuploader"
    uploader.MultipleFilesUpload=False
    uploader.SaveDirectory="../ResumeFiles"
    uploader.AllowedFileExtensions="*.doc,*.txt,*.rtf"
    uploader.Render()
    If Request.Form("myuploader") & "" <> "" Then
       Dim mvcfile
       Set mvcfile=uploader.GetUploadedFile(Request.Form("myuploader"))
       Response.Write mvcfile.FileName()
    End If
    %>
     
    The file was uploaded but I got the following error when I tried to get the name of the file uploaded. If I remove IF ... END IF statement, I do not get the error. I chatted with the CuteSoft Tech Support but no luck. Does anyone know why?
     
    aspuploader/include_aspuploader.asp
    Line Number: 438
    Brief Description: Object required: 'jfile'
     
    Thanks.
  •  02-10-2010, 5:20 PM 58649 in reply to 58635

    Re: Object required: 'jfile'

    Dear guox,
     
    Please use the following code:
    <!-- #include file="aspuploader/include_aspuploader.asp" -->
    <%
    Dim uploader
    Set uploader=new AspUploader
    uploader.MaxSizeKB=10240
    uploader.Name="myuploader"
    uploader.MultipleFilesUpload=False
    uploader.SaveDirectory="ResumeFiles"
    uploader.AllowedFileExtensions="*.doc,*.txt,*.rtf"
    %>
    <%=uploader.GetString() %> 
    <script type='text/javascript'>
     function CuteWebUI_AjaxUploader_OnTaskComplete(task)
     {
      var div=document.createElement("DIV");
      var link=document.createElement("A");
      link.setAttribute("href","ResumeFiles/"+task.FileName);
      link.setAttribute("target","_blank");
      link.innerHTML="You have uploaded file: ResumeFiles/"+task.FileName;
      div.appendChild(link);
      document.body.appendChild(div);
     }
     </script>
     
     
    Regards,
    Eric
  •  02-10-2010, 9:06 PM 58653 in reply to 58649

    Re: Object required: 'jfile'

    Thank you Eric.
     
    Since I put my folder "ResumeFiles" directly under website root folder that was why I used "../ResumeFiles" in my code. But that's okay I moved that folder under the sub-folder where the files are located for this part. I tested your code and did not get any error. The question is that I need to get the uploaded file name in ASP and then our application reads that file and display the content in the text area ('Cute Editor for Classic ASP") . based on your code, I do not think that I can get the file name. Is there a way to get file name in ASP?
  •  02-13-2010, 6:02 AM 58693 in reply to 58653

    Re: Object required: 'jfile'

    That is exactly the same problem I have, I want the names of uploaded files into the ASP code for further treatment.

    It doesn't seem that we can get a reasonable solution to this problem. They totally ignore all correspondence concerning this for the past 3-4 weeks.
  •  02-15-2010, 2:49 AM 58697 in reply to 58693

    Re: Object required: 'jfile'

    Hi there
     
    I'm having identical problem using ajax-multiplefiles. 
    The code I'm testing is:
    <%
                Dim uploader
                Set uploader=new AspUploader
                uploader.MaxSizeKB=10240
                uploader.Name="myuploader"
                uploader.MultipleFilesUpload=true
                uploader.InsertText="Select multiple files (Max 10M)"
                uploader.SaveDirectory="savefiles"
                uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"
                %>           
                <%=uploader.GetString() %>
     
     
     It does download the file but after that get the following error:
     A javascript box saying "http error 500" and a message:
    [

    Microsoft VBScript runtime error '800a01a8'

    Object required: 'jfile'

    /aspuploader/include_aspuploader.asp, line 438

     Thank you
  •  02-16-2010, 11:38 AM 58730 in reply to 58693

    Re: Object required: 'jfile'

    altero:
    That is exactly the same problem I have, I want the names of uploaded files into the ASP code for further treatment.

    It doesn't seem that we can get a reasonable solution to this problem. They totally ignore all correspondence concerning this for the past 3-4 weeks.
     
    Please check demo2.asp example. This example shows you how to create an uploader handle page.
     
    <%
             Dim uploader
             Set uploader=new AspUploader
             uploader.MultipleFilesUpload=true
             uploader.MaxSizeKB=10240
             uploader.InsertText="Select multiple files (Max 10M)"
             uploader.SaveDirectory="savefiles"
             uploader.AllowedFileExtensions="*.jpg,*.png,*.gif,*.zip"
             uploader.UploadUrl="demo2_upload.asp"
             uploader.Render()
         %>
     
    You can handle asp upload logic in the demo2_upload.asp page.
     
    Hope it helps.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-16-2010, 11:44 AM 58731 in reply to 58697

    Re: Object required: 'jfile'

    Jonybravo:

    Hi there
     
    I'm having identical problem using ajax-multiplefiles. 
    The code I'm testing is:
    <%
                Dim uploader
                Set uploader=new AspUploader
                uploader.MaxSizeKB=10240
                uploader.Name="myuploader"
                uploader.MultipleFilesUpload=true
                uploader.InsertText="Select multiple files (Max 10M)"
                uploader.SaveDirectory="savefiles"
                uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"
                %>           
                <%=uploader.GetString() %>
     
     
     It does download the file but after that get the following error:
     A javascript box saying "http error 500" and a message:
    [

    Microsoft VBScript runtime error '800a01a8'

    Object required: 'jfile'

    /aspuploader/include_aspuploader.asp, line 438

     Thank you
     
    Jonybravo,
     
    Do you have problems with the ajax-multiplefiles.asp included in the download package?
     
    Or you are running a modified version of ajax-multiplefiles.asp?
     
    Please note that there is a handler page required for the above example.
     
    var handlerurl='ajax-multiplefiles-handler.asp'
     
    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-16-2010, 3:49 PM 58743 in reply to 58730

    Re: Object required: 'jfile'

    Hi Adam
     
    Where do i find the demo2.asp example, i can't find it anywhere?
     
    Kind Regards
  •  02-18-2010, 10:31 AM 58810 in reply to 58743

    Re: Object required: 'jfile'

    altero:
    Hi Adam
     
    Where do i find the demo2.asp example, i can't find it anywhere?
     
    Kind Regards
     
    Please check the following article:
     
     
    Hope it helps.

    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-21-2010, 11:10 PM 58874 in reply to 58330

    Re: Object required: 'jfile'

    Hi all,
     
    Please download the control again.
     
    We have updated it for this issue.
     
    Regards,
    Terry
     
  •  12-18-2011, 2:55 PM 72068 in reply to 58810

    Re: Object required: 'jfile'

     I get the same error, the multiple files demo has problem with jfile :-( Help please.

    I have tried to use your demo ajax-multiplefiles.asp on my server (copied the whole folder of course) and I get the object required jfile error in line 464. The file is uploaded but the page is then trying to redirect and the error is there. So your own demo does not work on my server. What could be wrong?

    I have WIndows 2008 R2, IIs7.5, is there any known problem with this server? I need to use this module and I can not :-(

    It seems to me that the ajax-multiplefiles-handler.asp doesn't work for some reason, the Set mvcfile=uploader.GetUploadedFile(list(i)) produces error I think.

    Yours

    Jerry

View as RSS news feed in XML