Click here to Skip to main content
Rate this: bad
good
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 17:15pm
Comments
Christian Graus at 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
0 Sergey Alexandrovich Kryukov 8,478
1 OriginalGriff 6,516
2 Peter Leow 3,587
3 Zoltán Zörgő 3,406
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2015
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