Solved

Certain file types are not uploading in my asp page.  (Bare with me)

Posted on 2004-04-06
2
159 Views
Last Modified: 2013-12-04
Background:
I have a ASP application that lets the end user upload a file.  This app works fine from any windows system other then Windows 2003 server.  I have tested it thoughly from windows 2000, win 98 and win xp.  The app uses encType="multipart/form-data" to post with and it is putting the files into a SQL database (binary).

Problem:
From My Windows 2003 server, runing Internet Explorer 6, the app will upload file types of .txt. .gif .jpg .xls to name a few, but I can't upload .bmp or .exe type files.

Trouble shooting:
The IIS server is on windows 2003 and the SQL database is also on 2003.  So any client hitting the web app is running the asp code from the windows 2003 server.  The problem has to be client side, because the backend process is all the same.  If I upload a file from say a win 2000 box with IE 6 it works just fine, but if I do the same steps from the win 2003 box with IE 6 it won't upload the file.  I don't get any errors (probably my fault with my asp code) it just puts a "NULL" row in the database.

Any help is greatly appriciated!
0
Comment
Question by:r_hagrid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 12

Accepted Solution

by:
trywaredk earned 500 total points
ID: 10772254
Nothing in the eventlog about it ??????

Windows 2003 (IIS 6) contains a property that limits the amount of data that can be received using a POST operation, and this has a relatively low default value. This property can be changed by editing the metabase.xml file and it is called AspMaxRequestEntityAllowed. If a file is uploaded that is larger than specified by this property a DNS error will result
http://www.sirfsup.com/languages/js/3rdparty/csupt/Instructions.htm

Frequently Asked Questions
http://www.chestysoft.com/faq.asp

Many Regards
Jorgen Malmgren
IT-Supervisor
Denmark

:o) Your brain is like a parachute. It works best when it's open
0
 
LVL 12

Expert Comment

by:trywaredk
ID: 10863082
:o) Glad I could help you - thank you for the points
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question