Print Page | Close Window

aspsmartupload on Win 2003 R2

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=24735
Printed Date: 04 April 2026 at 6:42am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: aspsmartupload on Win 2003 R2
Posted By: mcriley
Subject: aspsmartupload on Win 2003 R2
Date Posted: 01 November 2007 at 1:41pm
I am using aspsmartupload as my upload component 
I can successfully upload image and txt files, however when trying to upload doc, zip or pdf file I get the error
 
Error uploading file !!
The file uploaded is of the wrong type.
Files must be one of the type, zip, rar, doc, pdf, txt, rtf, gif, jpg, png
 
anybody have any idea's?
 
thanks
 
Martin..
 
 



Replies:
Posted By: stonecutter
Date Posted: 01 November 2007 at 3:52pm
In the forum setup & configuration utility under the 'upload' section, go to the "file types" box and add your file extensions. Each file type must be separated by a semi-colon. Make sure the file types have the period before them.    (.doc;.zip;.pdf, etc.) I don't have a semi-colon trailing the last file type listed, so check that in case it makes a difference.
Remember to save the new configuration when you're done.



Posted By: mcriley
Date Posted: 01 November 2007 at 3:54pm

The problem is that file types in that list are not working



Posted By: stonecutter
Date Posted: 02 November 2007 at 1:58pm
I was doing research on whether it was possible to extend the 2mb limit for file uploads and came across a number of support papers that refer to Windows Registry values. My system has no registry entries for AspSmartUpload, so I ran into a dead end. If your system does have the registry values, this key might be the one causing you trouble. If you don't have it in your registry either, I might consider trying to install it again. I had to do that once to get AspSmartUpload  to work properly after moving the forums to a new machine.

This is the Registry key you should check for:

Key :     HKEY_LOCAL_MACHINE\SOFTWARE\Advantys\aspSmartUpload
Value :  AllowedFilesList

Good Luck!




Posted By: jckruger
Date Posted: 04 November 2007 at 11:08pm
Have a look into MetaBase.xml for IIS that can allow you to extent the upload file size. Be careful though and make sure you backup your file first.

This might help you figure it out:
http://forums.aspfree.com/microsoft-iis-12/aspmaxrequestentityallowed-increasing-the-value-in-iis-6-0t-129770.html - http://forums.aspfree.com/microsoft-iis-12/aspmaxrequestentityallowed-increasing-the-value-in-iis-6-0t-129770.html


Posted By: jckruger
Date Posted: 04 November 2007 at 11:12pm
Ncriley,

Copy and paste what you have in the list in the admin section for allowable file types. Stone cutter is probably right that there may be a semicolon or dot somewhere that is screwing up the file type array.

I am using v9.06

Mine looks like this:
zip;rar;doc;pdf;txt;rtf;gif;jpg;png


Posted By: samh
Date Posted: 15 December 2007 at 3:38am
This is not the problem. I had it working fine on 8 and upgraded to 9 and I am receiving the same error. There has to be a bug in the code.
 
 
Error uploading file !!
The file uploaded is of the wrong type.
Files must be one of the type, zip, rar, doc, pdf, txt, rtf, gif, jpg, png



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