<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Collection of Random Thoughts : IIS</title><link>http://blogs.technet.com/benw/archive/tags/IIS/default.aspx</link><description>Tags: IIS</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Exchange 2003, ISA and attachment size</title><link>http://blogs.technet.com/benw/archive/2007/05/03/exchange-2003-isa-and-attachment-size.aspx</link><pubDate>Thu, 03 May 2007 21:33:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:878284</guid><dc:creator>benw</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/benw/comments/878284.aspx</comments><wfw:commentRss>http://blogs.technet.com/benw/commentrss.aspx?PostID=878284</wfw:commentRss><wfw:comment>http://blogs.technet.com/benw/rsscomments.aspx?PostID=878284</wfw:comment><description>&lt;P&gt;I've seen a few of these reports recently and worked on one personally, so I thought I would mention this in case anyone else has run into this issue and wasn't sure how to fix it.&lt;/P&gt;
&lt;P&gt;The environment:&lt;BR&gt;ISA server 200x using a Web Publishing Rule to publish OWA on an Exchange 2003 server.&lt;/P&gt;
&lt;P&gt;The problem:&lt;BR&gt;When using OWA externally, files larger than 50kb cannot be attached.&amp;nbsp; The symptom is that the attachment screen will simply go blank.&amp;nbsp; If you wait long enough, you may eventually see a timeout error, but that could be a long time (30 minutes or more).&amp;nbsp; Attaching the same file from inside the network works fine.&lt;/P&gt;
&lt;P&gt;The apparent solution:&lt;BR&gt;On the Exchange 2003 server, there is a setting within the IIS metabase that needs to be modified.&amp;nbsp; Specifically, the&amp;nbsp;parameter UploadReadAheadSize needs to be set.&lt;/P&gt;
&lt;P&gt;Why does this need to be changed?&lt;/P&gt;
&lt;P&gt;I don't know.&amp;nbsp; I'm not an ISA expert, nor am I am IIS expert.&amp;nbsp; The above-mentioned&amp;nbsp;parameter is not set by default, and IIS will use the default schema value of 49152 bytes (48kb).&amp;nbsp; It is worth noting that this&amp;nbsp;parameter apparently does not *always* need to be modified.&amp;nbsp; You should thus only modify this attribute if you are encountering this issue.&lt;/P&gt;
&lt;P&gt;This&amp;nbsp;parameter can be modified using adsutil.vbs, which is included by default with IIS, and exists in the inetpub\adminscripts directory.&amp;nbsp; It can also be modified by editing the metabase.xml file in the \winnt\system32\inetsrv directory.&lt;/P&gt;
&lt;P&gt;First, verify that no value is set.&lt;/P&gt;
&lt;P&gt;C:\inetpub\adminscripts&amp;gt;adsutil get w3svc/UploadReadAheadSize&lt;/P&gt;
&lt;P&gt;You should get back a response&lt;/P&gt;
&lt;P&gt;The parameter "UploadReadAheadSize" is not set at this node.&lt;/P&gt;
&lt;P&gt;To modify this parameter, run the following command&lt;/P&gt;
&lt;P&gt;C:\inetpub\adminscripts&amp;gt;adsutil set w3svc/UploadReadAheadSize "&amp;lt;Size in bytes&amp;gt;"&lt;/P&gt;
&lt;P&gt;For example, if you want to change this value to 20mb, you would put in "20000000" as the size.&lt;/P&gt;
&lt;P&gt;The response should be&lt;/P&gt;
&lt;P&gt;UploadReadAheadSize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : (INTEGER) 20000000&lt;/P&gt;
&lt;P&gt;Once you make this change, it should be effective immediately.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=878284" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/benw/archive/tags/ISA/default.aspx">ISA</category><category domain="http://blogs.technet.com/benw/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.technet.com/benw/archive/tags/Exchange/default.aspx">Exchange</category></item></channel></rss>