Persits Upload Problem!

Discussion in 'Third-party applications' started by raza, Jan 30, 2011.

  1. Hi,

    I am having a problem with persits upload.

    I have copied the exact code for the form + script to upload an image from the support page:

    my page can be seen on:

    When trying to upload an image it comes up as: Server.CreateObject Failed

    I have been doing some investigation and this type of response would refer to persits not being installed on the server?

    My code is exactly how the example code in the URL shows.
    Form page:
    <body bgcolor="#ffffff">
    <form action="uploadprocess.asp" method="post" enctype="multipart/form-data">
    <input type="file" size="40" name="FILE1" />
    <br />
    <input type="submit" value="Upload!" />

    Set Upload = Server.CreateObject("Persits.Upload") 'This is where the error occurs
    count = upload.savevirtual ("/images/gallery")
    Response.Write Count & " file(s) uploaded"

    The error details are as follows:
    Server object error 'ASP 0177 : 800401f3'

    Server.CreateObject Failed

    /admin/uploadprocess.asp, line 4


    could any please help with this problem?

    Many thanks
    Last edited by a moderator: Oct 14, 2015
  2. Ray


    I suggest you open a ticket to our support about this matter.
  3. Would this code work to upload any file? I am new and have learnt classic ASP. I would like to upload a file to the web server and the file name to ms access database.

    Did you manage to have this issue resolved?

    Thanks in advance
    Last edited by a moderator: Oct 14, 2015
  4. Ray


    I tested your account by also creating a Persits upload tests script.

    It worked for me, you can review the script I uploaded.

    Go through your code and for now comment out the other component you are calling other than the the persits upload object and test it from there.
    Last edited by a moderator: Oct 14, 2015

Share This Page