Solved

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

Posted on 2004-04-06
2
154 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
Comment Utility
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
Comment Utility
:o) Glad I could help you - thank you for the points
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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…
SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 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

12 Experts available now in Live!

Get 1:1 Help Now