Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Image Upload ASP Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Image Upload ASP Error

 Post Reply Post Reply
Author
dougl View Drop Down
Groupie
Groupie


Joined: 01 August 2007
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote dougl Quote  Post ReplyReply Direct Link To This Post Topic: Image Upload ASP Error
    Posted: 23 October 2007 at 9:00pm
When I try to upload an image - 276kb jpg - I get this in v9.06
(I have set the max size in admin to 500kb)

Request object error 'ASP 0104 : 80004005'

Operation not Allowed

         /functions/functions_upload.asp, line 374

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: 24 October 2007 at 9:31am
This looks to be some type of permissions error thrown up by the upload component aspSmartUpload that you are using.

The error is being thrown up when the component tries to save the file to memory so that it can be filtered for malicious code, unsafe file types, etc. before being saved to disk.

It could be that this type of upload has been disabled by your web host. For more info you should consult the aspSmartUpload documentation as it should give a better idea what is wrong.

If you can I would also recommend using AspUpload as your upload component as it is the best one out of the supported components.
Back to Top
dougl View Drop Down
Groupie
Groupie


Joined: 01 August 2007
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote dougl Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2007 at 1:16pm
I am running the web server on my box... If I save the file smaller than 200 kb it works. I'll look into it...
 
 
Server settings

Make sure the IIS web server is not restricting the size of ASP uploads. IIS 6 (Windows Server 2003) has a limit of 200 KB for ASP requests in general and file uploads in particular. To remove this limitation in IIS 6 you need to edit the Metabase file, which can be found at c:\Windows\System32\Inetsrv\MetaBase.xml.

Follow these steps: go to IIS and right click the server, select properties, and check the box "Allow changes to MetaBase configuration while IIS is running"; if after this step the metabase file is still locked, try turning off IIS or even restarting the machine in safe mode; open the file in an editor; the variable AspMaxRequestEntityAllowed limits the number of bytes in the page request (by default 200KB); change the value to 1073741824 (unlimited) or to a limit of your choice; check whether the same variable shows up in other places in the file.



Edited by dougl - 24 October 2007 at 1:27pm
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.