Solved

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

Posted on 2004-04-06
2
155 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now