<?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; Windows Server 2008</title>
	<atom:link href="http://www.jjclements.co.uk/category/windows-server-2008/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>
		<item>
		<title>Windows Server time synchronization</title>
		<link>http://www.jjclements.co.uk/2010/04/15/windows-server-time-synchronization/</link>
		<comments>http://www.jjclements.co.uk/2010/04/15/windows-server-time-synchronization/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 09:08:58 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[nt5ds]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[pdc]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[w32time]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=781</guid>
		<description><![CDATA[Something I have frequently seen implemented incorrectly on Windows Server domains is time synchronization. Many admins think that by creating a GPO with a modified policy setting for 'Configure Windows NTP Client' (and using it to address an NTP source) all Servers and Clients will synchronize their time with that source. This isn't entirely true [...]]]></description>
			<content:encoded><![CDATA[<p>Something I have frequently seen implemented incorrectly on Windows Server domains is time synchronization. Many admins think that by creating a GPO with a modified policy setting for 'Configure Windows NTP Client' (and using it to address an NTP source) all Servers and Clients will synchronize their time with that source. This isn't entirely true and there is actually a time hierarchy that should be considered when implementing time synchronization for each domain.</p>
<p><span id="more-781"></span></p>
<p>As far as W32Time (the Windows time service) is concerned, at the topmost level within the domain is the domain controller on which the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Primary_Domain_Controller#Windows_2000:_PDC_emulation" target="_blank">PDC Emulator</a> Flexible Single Master Operation <a rel="nofollow" href="http://en.wikipedia.org/wiki/Flexible_single_master_operation" target="_blank">(FSMO)</a> role resides. This can be configured to synchronize it's time with a <a rel="nofollow" href="http://www.pool.ntp.org/en" target="_blank">reliable external time source</a>. By default all other domain controllers internally synchronize their time with the PDC Emulator. Similarly all domain member client computers synchronize their time with the domain controller that authenticates them.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/04/timesync.png" alt="timesync.png" /></p>
<p>Configuring the domain controller where the PDC Emulator role resides should be the only computer in the domain that requires any manual intervention to have the precise time on all domain client computers.</p>
<p>To find out which server the PDC Emulator role resides on open the Active Directory Users and Computers (ADUC) snap-in. Then right click on your domain and select 'Operations Masters'. Browsing the PDC tab will show you where the PDC Emulator role currently resides.</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/04/pdcemulator.png" alt="pdcemulator.png" /></p>
<p>On the domain controller where the PDC Emulator resides you can configure it to synchronize its time with an external source by using the following command:</p>
<p><strong>net time /setsntp:&lt;ip/dns&gt;</strong></p>
<p>Use the following example to set multiple external time sources to sync with:</p>
<p><strong>net time /setsntp:"0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org"</strong></p>
<p>You can also configure this manually by modifying the following registry key:</p>
<p>HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters</p>
<p><strong>NtpServer=&lt;ip/dns&gt;</strong><br />
<strong>Type=NT5DS</strong> change this to <strong>Type=NTP</strong></p>
<p>After making the above changes restart the W32Time service by issuing the following commands at a command prompt:</p>
<p><strong>net stop w32time</strong><br />
<strong>net start w32time</strong></p>
<p>NOTE: If you don't configure the PDC Emulator to synchronize its time with an external source it will simply use its own (CMOS) clock. Doing so will occasionally cause an error to appear in the event log on the server that resembles the following:</p>
<blockquote><p>
Event Type: Error<br />
Event Source: W32Time<br />
Event Category: None<br />
Event ID: 12</p>
<p>Event description: Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the PDC emulator for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source.
</p></blockquote>
<p>NOTE: If you experience a client with time synchronization problems ensure that it has the correct time zone set. If needed, the time service can be reset using the following commands:</p>
<p><strong>net stop w32time</strong><br />
<strong>w32tm /unregister</strong><br />
<strong>w32tm /register</strong><br />
<strong>net start w32time</strong><br />
<strong>w32tm /resync</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/04/15/windows-server-time-synchronization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

