IIS and Filesize

IIS and Filesize

am 17.05.2005 14:48:37 von Fox

I've an ASP script that perform files upload (.doc and .pdf) on a folder on
my server.
Now on a server it works good but on another server it doesn't upload file
over 300kb. (Both server are Win2003 with IIS 6.0).
Maybe something need to be configure under IIS?


Thanks!

Re: IIS and Filesize

am 17.05.2005 16:02:26 von tomk (A

"Fox" wrote in message
news:4289e824$0$17097$5fc30a8@news.tiscali.it...
> I've an ASP script that perform files upload (.doc and .pdf) on a folder
> on my server.
> Now on a server it works good but on another server it doesn't upload file
> over 300kb. (Both server are Win2003 with IIS 6.0).
> Maybe something need to be configure under IIS?

Check AspMaxRequestEntityAllowed
http://support.microsoft.com/default.aspx?scid=kb;en-us;8147 74

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers /iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS

Re: IIS and Filesize

am 17.05.2005 17:04:54 von Fox

> Check AspMaxRequestEntityAllowed
> http://support.microsoft.com/default.aspx?scid=kb;en-us;8147 74

I modified the metabase in this way but still doesn't work!

ConnectionTimeout="3600"
LogExtFileFlags="LogExtFileDate | LogExtFileHost | LogExtFileTime |
LogExtFileClientIp | LogExtFileUserName | LogExtFileSiteName |
LogExtFileComputerName | LogExtFileServerIp | LogExtFileMethod |
LogExtFileUriStem | LogExtFileUriQuery | LogExtFileHttpStatus |
LogExtFileWin32Status | LogExtFileBytesSent | LogExtFileBytesRecv |
LogExtFileTimeTaken | LogExtFileServerPort | LogExtFileUserAgent |
LogExtFileCookie | LogExtFileReferer | LogExtFileProtocolVersion |
LogExtFileHttpSubStatus"
LogFileDirectory="C:\inetpub\vhosts\test.com.\statistics\log s"
LogFileLocaltimeRollover="FALSE"
LogFilePeriod="1"
LogFileTruncateSize="20971520"
LogPluginClsid="{FF160663-DE82-11CF-BC0A-00AA006111E0}"
LogType="1"
SSLCertHash="d9c7a6f5cb5ae95707d8a9ccec72777c53edfa6d"
SSLStoreName="MY"
SecureBindings="150.101.xxx.xxx:443:"
ServerAutoStart="TRUE"
ServerBindings="150.101.xxx.xxx:80:test.com.
150.101.xxx.xxx:80:www.test.com.au
150.101.xxx.xxx:80:"
ServerComment="test.com."
>

AppFriendlyName="ResUpload"
AppIsolated="2"
AppRoot="/LM/W3SVC/29400/Root/NR/System/SDUpload"
AspMaxRequestEntityAllowed="5120000000"
>

Re: IIS and Filesize

am 17.05.2005 17:18:26 von Kyle Peterson

pure asp isnt the best solution for large files.

300kb isnt terribly big but still... ask the hosting company is there is a
3rd party asp upload component installed on the server that you can use.

If not ask them if they would consider installing one for you.
There are many free ones out there.

Any quality ASP hosting company will already have something liek aspupload
or safileup that you can use.


"Fox" wrote in message
news:4289e824$0$17097$5fc30a8@news.tiscali.it...
> I've an ASP script that perform files upload (.doc and .pdf) on a folder
> on my server.
> Now on a server it works good but on another server it doesn't upload file
> over 300kb. (Both server are Win2003 with IIS 6.0).
> Maybe something need to be configure under IIS?
>
>
> Thanks!
>
>

Re: IIS and Filesize

am 18.05.2005 05:20:08 von someone

1. Directly changing metabase.xml does not work unless you either
a. NET STOP IISADMIN /y prior to making the change, and then restart IIS
weth NET START W3SVC
b. Have "Edit While Running" enabled (this is not turned on by default).
2. Your value is also invalid. It is measured in bytes as a 32bit value, and
you put down 5GB (>32bit value)

The following works all the time:
adsutil.vbs set
/W3SVC/29400/Root/NR/System/SDUpload/AspMaxRequestEntityAllo wed 512000000

Remember that you need to have the full metadata path available if you are
setting a nested property (in other words, AspMaxRequestEntityAllowed is
only modified in the /System/SDUpload virtual directory, and
/System/SDUpload must be a defined path.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"FOX" wrote in message
news:qKnie.908764$b5.39926727@news3.tin.it...

> Check AspMaxRequestEntityAllowed
> http://support.microsoft.com/default.aspx?scid=kb;en-us;8147 74

I modified the metabase in this way but still doesn't work!

ConnectionTimeout="3600"
LogExtFileFlags="LogExtFileDate | LogExtFileHost | LogExtFileTime |
LogExtFileClientIp | LogExtFileUserName | LogExtFileSiteName |
LogExtFileComputerName | LogExtFileServerIp | LogExtFileMethod |
LogExtFileUriStem | LogExtFileUriQuery | LogExtFileHttpStatus |
LogExtFileWin32Status | LogExtFileBytesSent | LogExtFileBytesRecv |
LogExtFileTimeTaken | LogExtFileServerPort | LogExtFileUserAgent |
LogExtFileCookie | LogExtFileReferer | LogExtFileProtocolVersion |
LogExtFileHttpSubStatus"
LogFileDirectory="C:\inetpub\vhosts\test.com.\statistics\log s"
LogFileLocaltimeRollover="FALSE"
LogFilePeriod="1"
LogFileTruncateSize="20971520"
LogPluginClsid="{FF160663-DE82-11CF-BC0A-00AA006111E0}"
LogType="1"
SSLCertHash="d9c7a6f5cb5ae95707d8a9ccec72777c53edfa6d"
SSLStoreName="MY"
SecureBindings="150.101.xxx.xxx:443:"
ServerAutoStart="TRUE"
ServerBindings="150.101.xxx.xxx:80:test.com.
150.101.xxx.xxx:80:www.test.com.au
150.101.xxx.xxx:80:"
ServerComment="test.com."
>

AppFriendlyName="ResUpload"
AppIsolated="2"
AppRoot="/LM/W3SVC/29400/Root/NR/System/SDUpload"
AspMaxRequestEntityAllowed="5120000000"
>