Print Page | Close Window

Image Upload ASP Error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24688
Printed Date: 06 April 2026 at 10:20am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Image Upload ASP Error
Posted By: dougl
Subject: Image Upload ASP Error
Date 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




Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: dougl
Date 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...
 
Here was the problem: http://www.freeaspupload.net/freeaspupload/requirements.asp - http://www.freeaspupload.net/freeaspupload/requirements.asp
 
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.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net