Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

9 Experts available now in Live!

Get 1:1 Help Now