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: https://support.Winhost.com/KB/a677...mation-and-sample-code.aspx?KBSearchID=252108 my page can be seen on: http://elaineli.w05.Winhost.com/admin/uploadimage.asp 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: <html> <head> </head> <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!" /> </form> </body> </html> uploadprocess.asp <HTML> <BODY> <% Set Upload = Server.CreateObject("Persits.Upload") 'This is where the error occurs count = upload.savevirtual ("/images/gallery") Response.Write Count & " file(s) uploaded" %> </BODY> </HTML> The error details are as follows: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /admin/uploadprocess.asp, line 4 800401f3 could any please help with this problem? Many thanks
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 Sanjay
I tested your account by also creating a Persits upload tests script. http://elaineli.w05.Winhost.com/Winhosttest/aspupload.asp 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.