Forum Moderators: open

Message Too Old, No Replies

IIS File Upload

IIS File Upload

         

anixponse

10:59 am on Aug 10, 2004 (gmt 0)

10+ Year Member



Hello there,

I am trying to uoload a file using asp programatically. But if the file is greater than 97 kb then its displaying an error message. Where as if I try to execute the program in 2000 server then its working fine.

Please help if there is any special configuration for 2003 as i am using 2003 server.

With regards
Anirban

harun

3:59 pm on Aug 17, 2004 (gmt 0)

10+ Year Member



Hello,
Open IIS,
Right click on the IIS (Computer Name (local computer))
Select Properties.
Put a thick on Enable Direct Metabase Edit. This enables you edit the metabase.xml file without stoping IIS.

Open Metabase.Xml file with NotePad.(C:\Windows\System32\inetsvr\metabase.xml)
Find AspMaxRequestEntityAllowed value and sets its size to what you want. its unit is byte. Writing 10000000 means 10 millions byte (app. 10 MB)
Then save the metabase.xml
Restart IIS