<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JJClements.co.uk &#187; ASP</title>
	<atom:link href="http://www.jjclements.co.uk/tag/asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jjclements.co.uk</link>
	<description>Clem&#039;s Technical Blog</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:16:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IIS 500 internal server error when uploading file using ASP</title>
		<link>http://www.jjclements.co.uk/2010/05/24/iis-500-internal-server-error-when-uploading-file-using-asp/</link>
		<comments>http://www.jjclements.co.uk/2010/05/24/iis-500-internal-server-error-when-uploading-file-using-asp/#comments</comments>
		<pubDate>Mon, 24 May 2010 12:36:22 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=926</guid>
		<description><![CDATA[I recently came across a problem when uploading a document through an ASP application to an IIS 7.5 web server. When I attempted to upload the document I received an http 500 internal server error. It turns out the issue was caused by an IIS setting restricting the size of the entity-body of the ASP [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a problem when uploading a document through an ASP application to an IIS 7.5 web server. When I attempted to upload the document I received an http 500 internal server error. It turns out the issue was caused by an IIS setting restricting the size of the entity-body of the ASP request.</p>
<p><span id="more-926"></span></p>
<p>When I checked the Application log in the event viewer I was presented with the error:</p>
<blockquote><p>
Source: Active Server Pages<br />
Event ID: 5<br />
Level: Error</p>
<p>Error: File &lt;url to upload.asp&gt; &lt;line number&gt; Operation not Allowed.
</p></blockquote>
<p>The error indicated that there was an issue with the ASP configuration for the website hosting the application so I had a quick look at the ASP settings in the IIS Manager:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/05/asp.png" alt="asp.png" /></p>
<p>In the settings for ASP I noticed the following option:</p>
<p>Limits Properties --> Maximum Requesting Entity Body Limit</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/05/aspsettings.png" alt="aspsettings.png" /></p>
<p>The default value for this property is 200000 bytes which is just under 0.2 megabytes. The file I was trying to upload was just over 3 megabytes so I needed to increase this value. I changed it to 10485760 bytes which is 10 megabytes. Upon retrying to upload the document through the ASP application I was successful. No restart of IIS was necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/05/24/iis-500-internal-server-error-when-uploading-file-using-asp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

