Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
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

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[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900