ASP File upload problem

edmicman

Golden Member
May 30, 2001
1,682
0
0
I'm using the ASPFileUpload component (I found it somewhere on MS's knowledge base I think) and have a weird problem. I can upload files just fine if the server is logged in as the administrator. But if I log out, (which should be fine, IIS runs as a system service), I get this:

Active Server Pages error '8002802b'

Create object failed

?

An error occurred while creating object 'fuFile'.

Active Server Pages error '8002802b'

Create object failed

?

An error occurred while creating object 'fuFile'.

Active Server Pages error '8002802b'

Create object failed

?

An error occurred while creating object 'fuFile'. An error occurred uploading your file: Class doesn't support Automation

Any ideas? Thanks!
 

DJFuji

Diamond Member
Oct 18, 1999
3,643
1
76
i used this ASP upload component on a project and it worked fine. If you can't get that to work, maybe you should think about using a more reliable add in module.

I couldn't find anything on your problem, but if you've tried the normal troubleshooting steps (restart IIS, try with a different server, etc.), you may want to try the foums over at www.asp.net. A lot of the guys over there are the authors of the common ASP/programming books you can buy. They really know their stuff.
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
The IUSR most likely doesn't have write permissions to whereever the file is supposed to go, or to the %TEMP% directory.

Or the IWAM account doesn't have read access to the DLL... could be many things :)
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
if the functionality works while the administrator is logged in, but it stops once you log out, i suspect that there is a dll that is configured to run as the interactive user. when you log out, there is no interactive user, so things stop working. look for a com+ package with your upload dll and make sure it is not running as the interactive user.
 

edmicman

Golden Member
May 30, 2001
1,682
0
0
Originally posted by: oog
if the functionality works while the administrator is logged in, but it stops once you log out, i suspect that there is a dll that is configured to run as the interactive user. when you log out, there is no interactive user, so things stop working. look for a com+ package with your upload dll and make sure it is not running as the interactive user.

Thanks, that seemed to be it. I changed the component to run as a system user and it seems to work now. Strange thing is, I remember this same problem happening before and somehow I fixed it (or maybe I didn't and just forgot about it??) but I don't think I changed anything with the COM properties. Ah well, its all good now!