Welcome to Webhost4life Forum Sign in | Join | Faq

Classic ASP

Started by mbrinkley at 01-28-2007 6:20 AM. Topic has 1 replies.

Print Search
Sort Posts:    
   01-28-2007, 6:20 AM
mbrinkley is not online. Last active: 7/29/2007 9:03:16 AM mbrinkley

Top 500 Posts
Joined on 01-28-2007
Posts 1
Help using ASPUpload
Reply Quote
With this line of code:
Set Upload = Server.CreateObject("Persits.Upload.1")

I get the following error:

Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.



Any ideas why this isn't working?

Thx

   Report 
   01-30-2007, 1:05 PM
WSO is not online. Last active: 9/27/2008 9:32:35 AM WSO

Top 50 Posts
Joined on 01-31-2007
Posts 6
Re: Help using ASPUpload
Reply Quote
Sounds to me like the directory you're trying to upload the file to needs Read/Write/Create permissions.  Log in to the control panel and click the "Security" link from the nav along the top of the page.  Then, in the nav in the left hand side, click on the "File Permission" link.  Find the folder whose permissions you want to change in the list at the right and click the Edit button next to it.  Do a control-click on Read, Write, Execute, and Delete to select each of them and then click the Make Changes button.

Also, make sure your ASP code is trying to upload it to the file that you think you're trying to upload to.  What does your "Save" line look like in your code?  If what is to the right of the "Save" is a variable, try writing it back to the screen to make sure it is correct.

Tom


   Report 
Webhost4life Fo... » General Discuss... » Classic ASP » Re: Help using ASPUpload

Powered by Community Server, by Telligent Systems