Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Microsoft VBScript runtime error ’800a004
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Microsoft VBScript runtime error ’800a004

 Post Reply Post Reply
Author
Carlos287 View Drop Down
Newbie
Newbie


Joined: 26 January 2004
Location: Netherlands
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos287 Quote  Post ReplyReply Direct Link To This Post Topic: Microsoft VBScript runtime error ’800a004
    Posted: 06 February 2004 at 12:20pm

Hello everyone. I'm new here, and it's great to be joining this group. Using forums version 7.7.

I have a little problem I hope to get some advice on resolving, to do with file and image uploads.

Settings enabled for such uploads, globally and in individual forums. Here's what happens if I try and include a file or image in a forum post, ie, click the upload button and get the screen to browse for a file and include it, then click on ok:

Microsoft VBScript runtime error '800a004c'
Path not found
/customers/forum/functions/functions_upload.asp, line 80

Line 80 in the relevant file says this:

objFSO.CreateFolder(Server.MapPath(strFileUploadPath & "\" & strUserFolderName))

Now, I'm not a programmer, just a non-techie guy who is developing a forum! Does it looks like I'm missing something on my server or got something mis-configufred?

I'd appreciate any advice. Thanks!

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2004 at 12:40pm
In the admin area on the upload configuration page you probally  have the wrong path to the upload folder as the error suggests the upload folder can not be found.

The path to this upload folder should be a relative file to your main forum files and be within side the web root of your web site.
Back to Top
Carlos287 View Drop Down
Newbie
Newbie


Joined: 26 January 2004
Location: Netherlands
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos287 Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2004 at 1:15pm

Thank you -boRg-, and for such a swift reply.

You're right, the paths were wrong. Things now work correctly if I have those directories off of the website root, as in:

../images
../files
../avatars

But, I would prefer to have those folders within a folder called, say, uploads that's off of the root. For instance:

../uploads/images

If I do that, though, it doesn't work: I get the same VBScript error.

Do I need to modify the VBScript to have the directory structure I want? If so, what do I need to do?

Thanks, appreciate your advice.

 

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2004 at 1:19pm
You then need to have a folder called uploads in the root of your site with the said named folders inside.
Back to Top
Carlos287 View Drop Down
Newbie
Newbie


Joined: 26 January 2004
Location: Netherlands
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos287 Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2004 at 1:30pm

Yes, it should work, shouldn't it? But no matter what I do that different from ../foldername, I get the VBScript error.

I've tried these combinations:

../upload/images
upload/images
/upload/images

Same VBScript error each time.

Obviously I'm not doing something right...

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2004 at 1:40pm
Why not just leave it in it's default location then?
Back to Top
Carlos287 View Drop Down
Newbie
Newbie


Joined: 26 January 2004
Location: Netherlands
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carlos287 Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2004 at 1:42pm

Precisely the conclusion I've just arrived at!

Thanks.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.