3rd party controls can do it (for a price).
Nothing built -in.
One trick is tell the user of the site that the limit is 6MB.
Then set your web.config file to 8MB.
Allow the file to be fully uploaded, then check its size and if it is
greater than 6MB send your friendly error message.
Obviously, you get the "standard" screen if the file is over 8MB.
But you get the idea.
--
Joe Fallon
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:cdh2n5$q4u2@kcweb01.netnews.att.com...[color=blue]
> Is there anyway to gracefully catch a file upload limit error? When the
> limit is exceeded, IE displays a generic "Cannot find server or DNS error"
> message.
>
> --
> Tom Kaminski IIS MVP
>
http://www.microsoft.com/windowsserv...y/centers/iis/
>
http://mvp.support.microsoft.com/
>
http://www.iisfaq.com/
>
http://www.iistoolshed.com/ - tools, scripts, and utilities for running[/color]
IIS[color=blue]
>
http://www.tryiis.com
>
>[/color]