Click here to Skip to main content
12,254,932 members (60,605 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP
Dear expert,
i want to upload file using ASP programming .
i have tried below code for file save on the server but it gives me an error,

<%
Set Upload = Server.CreateObject("Persits.Upload")
Upload.SetMaxSize 1048576 ' Truncate files above 1MB
Upload.Save Server.MapPath("/upload/")

%>

above code throws an error of Object creation as below.
-----------------------
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed at line 2.
------------------------

please give the solution as soon as possible.

regards,
sanjay gajera
+91 89050 74894
Posted 17-Dec-12 16:15pm
Comments
Christian Graus 17-Dec-12 22:26pm
   
ASP has been obsolete for a decade. You will struggle to find people still using it, only people who hate themselves do that by choice.

Please don't give us a time limit, you're asking for us to do your work for free.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Persits Upload DLL is not available on your server because of which you cannot create the object. download and register the dll and then try.

here is a link which provides detailed information:

http://support.persits.com/show.asp?code=PS01032622[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100