?
Solved

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

Posted on 2004-04-06
2
Medium Priority
?
160 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 1500 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

Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

Question has a verified solution.

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

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

777 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