<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Linglom's Blog</title>
	
	<link>http://www.linglom.com</link>
	<description>Just another IT weblog</description>
	<lastBuildDate>Mon, 09 Nov 2009 08:31:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.0/</creativeCommons:license><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/LinglomsBlog" type="application/rss+xml" /><feedburner:emailServiceId>LinglomsBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Getting started with Microsoft ISA Server 2006, Part 7: Create DNS Lookup Rule</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/CHv0F5Md7Mg/</link>
		<comments>http://www.linglom.com/2009/11/09/getting-started-with-microsoft-isa-server-2006-part-7-create-dns-lookup-rule/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 08:14:12 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[ISA Server 2006]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=967</guid>
		<description><![CDATA[This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at Getting started with Microsoft ISA Server 2006, Part 1: Introduction.

Create DNS Lookup Rule
From Part 6: Configure Network Layout, you have configured network environment of the ISA Server 2006. Now let&#8217;s create [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at <a href="http://www.linglom.com/2009/08/21/getting-started-with-microsoft-isa-server-2006-part-1-introduction/">Getting started with Microsoft ISA Server 2006, Part 1: Introduction</a>.</p>
<p><span id="more-967"></span></p>
<h3>Create DNS Lookup Rule</h3>
<p>From <a href="http://www.linglom.com/2009/10/27/getting-started-with-microsoft-isa-server-2006-part-6-configure-network-layout/">Part 6: Configure Network Layout</a>, you have configured network environment of the ISA Server 2006. Now let&#8217;s create some access rules on ISA Server 2006. </p>
<p>On this example, I have internal and external DNS servers as I have shown the network diagram in <a href="http://www.linglom.com/2009/09/28/getting-started-with-microsoft-isa-server-2006-part-2-environment-setup/">Part 2: Environment Setup</a>. The internal DNS server should work fine since it is on the same network with clients &#8211; the Internal network. But the external DNS servers (or my ISP&#8217;s DNS servers) are on the external network. And currently, ISA Server 2006 blocks all network access so clients from the internal network cannot request any DNS look up from the external DNS servers. This would be a problem if some clients want to use the Internet. Therefore, I will create an access rule to allow DNS look up for clients on the internal network to the external DNS servers. The external DNS servers are 203.144.255.71 and 203.144.255.72.</p>
<h3>Step-by-step</h3>
<ol>
<li>On <strong>ISA Server Management</strong>, open Firewall Policy by expand <strong>Arrays</strong> -> <strong>BKKISA001</strong> -> <strong>Firewall Policy (BKKISA001)</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_1.png" width="200" height="131" alt="Open Firewall Policy" title="Open Firewall Policy"  /></a></li>
<li>Create a new access rule by click on <strong>Tasks</strong> tab -> <strong>Create Access Rule</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_2.png" width="200" height="131" alt="Create Access Rule" title="Create Access Rule"  /></a></li>
<li>On <strong>Welcome to the New Access Rule Wizard</strong>, type the access rule name. On this example, I type <strong>&#8220;Allow DNS Lookup&#8221;</strong> and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_3.png" width="200" height="153" alt="Set Access Rule Name" title="Set Access Rule Name"  /></a></li>
<li>On <strong>Rule Action</strong>, you can select allow or deny on this rule. Select <strong>Allow</strong> and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_4.png" width="200" height="153" alt="Set Rule Action to Allow" title="Set Rule Action to Allow"  /></a></li>
<li>On <strong>Protocols</strong>, you can select the protocols this rule applied to.
<ul>
<li>Choose <strong>Select protocols</strong> from a drop down menu and click <strong>Add</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_5.png" width="200" height="153" alt="Add Protocol to Rule" title="Add Protocol to Rule"  /></a></li>
<li>On <strong>Add Protocols</strong>, expand <strong>Common Protocols</strong> and double-click on <strong>DNS</strong>. Click <strong>Close</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_6.png" width="200" height="163" alt="Add HTTP and HTTPS to Rule" title="Add DNS protocol to Rule"  /></a></li>
<li>Back to <strong>Protocols</strong>, now the DNS protocol is added to the rule. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_7.png" width="200" height="153" alt="The DNS protocol is added to the Rule" title="The DNS protocol is added to the Rule"  /></a></li>
</ul>
</li>
<li>On <strong>Access Rule Sources</strong>, you can specify source networks for this rule.
<ul>
<li>Click <strong>Add</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_8.png" width="200" height="153" alt="Add Source Network" title="Add Source Network"  /></a></li>
<li>On <strong>Add Network Entities</strong>, expand <strong>Networks</strong> and double-click on <strong>Internal</strong>. Click <strong>Close</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_9.png" width="200" height="153" alt="Add Internal Network as Source" title="Add Internal Network as Source"  /></a></li>
<li>Back to <strong>Access Rule Sources</strong>, now the <strong>Internal</strong> network is added as access rule source. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_10.png" width="200" height="153" alt="The Internal Network is added as Source" title="The Internal Network is added as Source"  /></a></li>
</ul>
</li>
<li>On <strong>Access Rule Destination</strong>, you can specify destination networks for this rule.
<ul>
<li>Click <strong>Add</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/11.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_11.png" width="200" height="153" alt="Add Destination" title="Add Destination"  /></a></li>
<li>On <strong>Add Network Entities</strong>, click on <strong>New</strong> -> <strong>Address Range</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/12.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_12.png" width="200" height="311" alt="Add New Address Range" title="Add New Address Range"  /></a></li>
<li>On <strong>New Address Range Rule Element</strong>, type the name and specify the IP address range. On this example, I name it as <strong>&#8220;External DNS Addresses&#8221;</strong> and the IP address range is 203.144.255.71 to 203.144.255.72. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/13.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_13.png" width="200" height="157" alt="New Address Range Rule Element" title="New Address Range Rule Element"  /></a></li>
<li>Back to <strong>Add Network Entities</strong>, there is a new address range that I have just created so double-click on it to add to the rule and click <strong>Close</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/14.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_14.png" width="200" height="159" alt="Add an Address Range to Rule" title="Add an Address Range to Rule"  /></a></li>
<li>Back to <strong>Access Rule Destination</strong>, now the <strong>&#8220;External DNS Addresses&#8221;</strong> is added to the rule as access rule destination. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/15.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_15.png" width="200" height="153" alt="The Address Range is added to Rule as Destination" title="The Address Range is added to Rule as Destination"  /></a></li>
</ul>
</li>
<li>On <strong>User Sets</strong>, you can specify the user sets for the rule. On this example, I leave it as <strong>All Users</strong> and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/16.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_16.png" width="200" height="153" alt="Select All Users for Rule" title="Select All Users for Rule"  /></a></li>
<li>On <strong>Completing the New Access Rule Wizard</strong>, click <strong>Finish</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/17.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_17.png" width="200" height="153" alt="Finishing Create an Access Rule" title="Finishing Create an Access Rule"  /></a></li>
<li>To save changes that you have made, you must click on <strong>Apply</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/18.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_18.png" width="200" height="131" alt="Save Changes and Update Configuration" title="Save Changes and Update Configuration"  /></a></li>
<li>On <strong>Saving Configuration Changes</strong>, click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/19.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_19.png" width="200" height="86" alt="Saving Configuration Changes" title="Saving Configuration Changes"  /></a></li>
<li>Now you have completed create an access rule to allow DNS look up from internal network to the external DNS server.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/20.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-7/_20.png" width="200" height="126" alt="Access Rule is Created" title="Access Rule is Created"  /></a></li>
</ol>
<h3>What&#8217;s Next?</h3>
<p>You have created your first access rule for DNS look up. Now clients will be able to resolve name on the Internet. But there is no access rule for Internet access yet. So next, I will create another access rule for clients to access the Internet. See Part 8: Create Web Access Rule.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Fz2lVz8O-0EmIvJcph-QP91R3a0/0/da"><img src="http://feedads.g.doubleclick.net/~a/Fz2lVz8O-0EmIvJcph-QP91R3a0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Fz2lVz8O-0EmIvJcph-QP91R3a0/1/da"><img src="http://feedads.g.doubleclick.net/~a/Fz2lVz8O-0EmIvJcph-QP91R3a0/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/11/09/getting-started-with-microsoft-isa-server-2006-part-7-create-dns-lookup-rule/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/11/09/getting-started-with-microsoft-isa-server-2006-part-7-create-dns-lookup-rule/</feedburner:origLink></item>
		<item>
		<title>Getting started with Microsoft ISA Server 2006, Part 6: Configure Network Layout</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/UADGtOM9uRE/</link>
		<comments>http://www.linglom.com/2009/10/27/getting-started-with-microsoft-isa-server-2006-part-6-configure-network-layout/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 03:52:07 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[ISA Server 2006]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=964</guid>
		<description><![CDATA[This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at Getting started with Microsoft ISA Server 2006, Part 1: Introduction.

Configure Network Layout
From Part 5: Network Layout Concept, you learn about network templates. On this post, I will show how to configure [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at <a href="http://www.linglom.com/2009/08/21/getting-started-with-microsoft-isa-server-2006-part-1-introduction/">Getting started with Microsoft ISA Server 2006, Part 1: Introduction</a>.</p>
<p><span id="more-964"></span></p>
<h3>Configure Network Layout</h3>
<p>From <a href="http://www.linglom.com/2009/10/19/getting-started-with-microsoft-isa-server-2006-part-5-network-layout-concept/">Part 5: Network Layout Concept</a>, you learn about network templates. On this post, I will show how to configure networking environment of the ISA Server 2006 using edge firewall template which is the most suitable template for this example. You can see the network diagram of the example on <a href="http://www.linglom.com/2009/09/28/getting-started-with-microsoft-isa-server-2006-part-2-environment-setup/">Part 2: Environment Setup</a>.</p>
<p><!-- Start AdLogger Wrapping Code -->
<?php @include_once("/usr/local/psa/home/vhosts/linglom.com/httpdocs/adlogger/ad_check_include.php"); if ($show_ads == 'y') { ?>

<script type="text/javascript"><!--
google_ad_client = "pub-7765165459812980";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2007-02-17: SquareonBlog
google_ad_channel = "6055254908";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "ce6531";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<?php } ?>
<!-- End AdLogger Wrapping Code --></p>
<h3>Step-by-step</h3>
<ol>
<li>Open ISA Server Management by click <strong>Start</strong> -> <strong>Programs</strong> -> <strong>Microsoft ISA Server</strong> -> <strong>ISA Server Management</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_1.png" width="200" height="128" alt="Open ISA Server Management" title="Open ISA Server Management"  /></a></li>
<li>On <strong>Microsoft Internet Security and Acceleration Server 2006</strong>, expand <strong>Arrays</strong> -> <strong>BKKISA001</strong> -> <strong>Configuration</strong> -> <strong>Networks</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_2.png" width="200" height="131" alt="ISA Server Management" title="ISA Server Management"  /></a></li>
<li>Select <strong>Templates</strong> tab and click on the <strong>Edge Firewall</strong> template.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_3.png" width="200" height="131" alt="Network Templates" title="Network Templates"  /></a></li>
<li>A <strong>Network Template Wizard</strong> window appears, click <strong>Next</strong> to continue.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_4.png" width="200" height="157" alt="Network Template Wizard" title="Network Template Wizard"  /></a></li>
<li>On <strong>Export the ISA Server Configuration</strong>, you can click on <strong>Export</strong> button to backup your current ISA Server configuration. But this is the first time configuration so there is no need to backup anything.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_5.png" width="200" height="157" alt="Export the ISA Server Configuration" title="Export the ISA Server Configuration"  /></a></li>
<li>On <strong>Internal Network IP Addresses</strong>, verify if the IP address ranges are correct. My internal network is 192.168.10.0/24 so the existing range is correct. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_6.png" width="200" height="157" alt="Internal Network IP Addresses" title="Internal Network IP Addresses"  /></a></li>
<li>On Select a Firewall Policy, you can choose a pre-defined firewall policy which will be applied to the network specified in this template. On this example, I select <strong>Block all</strong>. I will create firewall rules manually on the next part.<br />
<em><strong>Note:</strong></em> On edge firewall template, there are five predefined firewall policies which are:</p>
<ol>
<li><strong>Block all</strong><br />
Block all network access through ISA Server. This option does not create any access rules other than the default rule which blocks all access.<br />
Use this option when you want to define firewall policy on your own.</li>
<li><strong>Block Internet access, allow access to ISP network services</strong><br />
Block all network access through ISA Server, except for access to network services, such as DNS. This option is useful when these services are provided by your Internet Service Provider (ISP).<br />
Use this option when you want to define firewall policy on your own.</p>
<p>The following access rules will be created:</p>
<ul>
<li>Allow DNS from Internal Network and VPN Clients Network to External Network (Internet).</li>
</ul>
</li>
<li><strong>Allow limited Web access</strong><br />
Allow Web access using HTTP, HTTPS, FTP, only. Block all other network access.</p>
<p>The following access rules will be created:</p>
<ul>
<li>Allow HTTP, HTTPS, FTP from Internal Network to External Network.
</li>
<li>Allow all protocols from VPN Clients Network to Internal Network.
</li>
</ul>
</li>
<li><strong>Allow limited Web access and access to ISP network services. </strong><br />
Allow limited Web access using HTTP, HTTPS, and FTP, and allows access to ISP network services, such as DNS. Block all other network access.<br />
The following access rules will be created:</p>
<ul>
<li>Allow HTTP, HTTPS, FTP from Internal Network and VPN Clients Network to External Network (Internet).</li>
<li>Allow DNS from Internal Network and VPN Clients Network to External Network (Internet).</li>
<li>Allow all protocols from VPN Clients Network to Internal Network.</li>
</ul>
</li>
<li><strong>Allow unrestricted access</strong><br />
Allow unrestricted access to the Internet through ISA Server. ISA Server will prevent access from the Internet.</p>
<p>The following access rules will be created:</p>
<ul>
<li>Allow all protocols from Internal Network and VPN Clients Network to External Network (Internet).</li>
<li>Allow all protocols from VPN Clients Network to Internal Network.</li>
</ul>
</li>
</ol>
<p><a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_7.png" width="200" height="157" alt="Select a Firewall Policy" title="Select a Firewall Policy"  /></a></li>
<li>On <strong>Completing the Network Template Wizard</strong>, click <strong>Finish</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_8.png" width="200" height="157" alt="Completing the Network Template Wizard" title="Completing the Network Template Wizard"  /></a></li>
<li>Then, you notice that there is a warning icon at the top of ISA Server Management. This means that the changes which you have made do not take effect yet. To update the configuration, click <strong>Apply</strong>.<br />
<em><strong>Note:</strong> </em>If you want to undo changes that you have made, click <strong>Undo</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_9.png" width="200" height="129" alt="Apply the configuration" title="Apply the configuration"  /></a></li>
<li>The changes have been saved.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-6/_10.png" width="200" height="86" alt="Save Configuration Changes" title="Save Configuration Changes"  /></a></li>
</ol>
<h3>What&#8217;s Next</h3>
<p>You have configure networking environment for the ISA Server 2006. Next, let&#8217;s see how to create some access rules on ISA Server 2006. See <a href="http://www.linglom.com/2009/11/09/getting-started-with-microsoft-isa-server-2006-part-7-create-dns-lookup-rule/">Part 7: Create DNS Lookup Rule</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/4lvBstZNsodyEtCoh7NTzrnCxdI/0/da"><img src="http://feedads.g.doubleclick.net/~a/4lvBstZNsodyEtCoh7NTzrnCxdI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/4lvBstZNsodyEtCoh7NTzrnCxdI/1/da"><img src="http://feedads.g.doubleclick.net/~a/4lvBstZNsodyEtCoh7NTzrnCxdI/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/10/27/getting-started-with-microsoft-isa-server-2006-part-6-configure-network-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/10/27/getting-started-with-microsoft-isa-server-2006-part-6-configure-network-layout/</feedburner:origLink></item>
		<item>
		<title>Getting started with Microsoft ISA Server 2006, Part 5: Network Layout Concept</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/75V1nUBZw1A/</link>
		<comments>http://www.linglom.com/2009/10/19/getting-started-with-microsoft-isa-server-2006-part-5-network-layout-concept/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 02:39:36 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[ISA Server 2006]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=962</guid>
		<description><![CDATA[This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at Getting started with Microsoft ISA Server 2006, Part 1: Introduction.

Configure Network Layout
From Part 3: Installation and Part 4: Service Pack 1, you learn how to install and update ISA Server 2006. [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at <a href="http://www.linglom.com/2009/08/21/getting-started-with-microsoft-isa-server-2006-part-1-introduction/">Getting started with Microsoft ISA Server 2006, Part 1: Introduction</a>.</p>
<p><span id="more-962"></span></p>
<h3>Configure Network Layout</h3>
<p>From <a href="http://www.linglom.com/2009/10/06/getting-started-with-microsoft-isa-server-2006-part-3-installation/">Part 3: Installation</a> and <a href="http://www.linglom.com/2009/10/15/getting-started-with-microsoft-isa-server-2006-part-4-service-pack-1/">Part 4: Service Pack 1</a>, you learn how to install and update ISA Server 2006. Next, it is time to configure the ISA Server 2006. On this post, I am going to show how to configure networking environment for ISA Server 2006 by selecting from the pre-defined network templates.</p>
<p><!-- Start AdLogger Wrapping Code -->
<?php @include_once("/usr/local/psa/home/vhosts/linglom.com/httpdocs/adlogger/ad_check_include.php"); if ($show_ads == 'y') { ?>

<script type="text/javascript"><!--
google_ad_client = "pub-7765165459812980";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2007-02-17: SquareonBlog
google_ad_channel = "6055254908";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "ce6531";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<?php } ?>
<!-- End AdLogger Wrapping Code --></p>
<p>By default, ISA Server 2006 comes with five pre-defined network templates. You can select one of them that match your networking environment. Let&#8217;s see each of them in details.</p>
<ol>
<li><strong>Edge Firewall</strong><br />
This is a standard network topology for small to medium organization. The ISA Server is a main gateway controlling traffic between the intranet (LAN) and the Internet networks. The ISA Server needs 2 network interface cards.<br />
<img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-5/1.png" width="178" height="116" alt="Edge Firewall" title="Edge Firewall" /></li>
<li><strong>3-Leg Perimeter</strong><br />
This is a standard network topology for medium to large organization. There is an additional network which is a perimeter network connects to ISA server compare to the edge firewall. The perimeter network or DMZ (Demilitarized Zone) is a network that is less secure for serving Web server, E-Mail server, DNS server and other services to the Internet users and also the internal users. The ISA Server needs 3 network interface cards.<br />
<img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-5/2.png" width="178" height="142" alt="3-Leg Perimeter" title="3-Leg Perimeter" /></li>
<li><strong>Front Firewall</strong><br />
This is a network topology for organization that security is high priority. In this case, there are more than one firewall. When a hacker attacks the front firewall and it compromises, there is still a back firewall to protect the internal network. This template, ISA Server acts as front firewall server between the Internet and the perimeter network and needs 2 network interface cards.<br />
<img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-5/3.png" width="178" height="168" alt="Front Firewall" title="Front Firewall" /></li>
<li><strong>Back Firewall</strong><br />
This network template is similar as the front firewall template except that the ISA Server that you&#8217;re configuring is the back firewall which stands between the internal and the perimeter networks.This template, ISA Server needs 2 network interface cards.<br />
<img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-5/4.png" width="178" height="168" alt="Back Firewall" title="Back Firewall" /></li>
<li><strong>Single Network Adapter</strong><br />
This is a network template for ISA Server to be act as Proxy server only. ISA Server can do caching to improve performance for users using the Internet in organization. This template, ISA Server requires only a single network interface card as the name of the template.<br />
<img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-5/5.png" width="178" height="208" alt="Single Network Adapter" title="Single Network Adapter" /></li>
</ol>
<p><em><strong>Note:</strong></em> About front and back Firewall templates, you have more than one firewalls. It is best practice not to use the same firewall model. For example, you should have the front firewall as hardware base from one company and the back firewall as software base from another company, or vice versa. If a hacker breaks the front firewall, then the hacker will takes an extra time to break another firewall to reach our internal network since the hacker cannot use the same technique to break the back firewall. </p>
<h3>What&#8217;s Next?</h3>
<p>Well, bore with reading the concept? Let&#8217;s see how to configure networking environment in action. See <a href="http://www.linglom.com/2009/10/27/getting-started-with-microsoft-isa-server-2006-part-6-configure-network-layout/">Part 6: Configure Network Layout</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/dmStF4E3V6GJmWqWXY5eq_BXXLE/0/da"><img src="http://feedads.g.doubleclick.net/~a/dmStF4E3V6GJmWqWXY5eq_BXXLE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/dmStF4E3V6GJmWqWXY5eq_BXXLE/1/da"><img src="http://feedads.g.doubleclick.net/~a/dmStF4E3V6GJmWqWXY5eq_BXXLE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/10/19/getting-started-with-microsoft-isa-server-2006-part-5-network-layout-concept/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/10/19/getting-started-with-microsoft-isa-server-2006-part-5-network-layout-concept/</feedburner:origLink></item>
		<item>
		<title>Getting started with Microsoft ISA Server 2006, Part 4: Service Pack 1</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/lTwB_uMKMMg/</link>
		<comments>http://www.linglom.com/2009/10/15/getting-started-with-microsoft-isa-server-2006-part-4-service-pack-1/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 01:37:22 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[ISA Server 2006]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=960</guid>
		<description><![CDATA[This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at Getting started with Microsoft ISA Server 2006, Part 1: Introduction.

Update Service Pack 1
From Part 3: Installation, I have installed ISA Server 2006 enterprise edition on the server. At this time, there [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at <a href="http://www.linglom.com/2009/08/21/getting-started-with-microsoft-isa-server-2006-part-1-introduction/">Getting started with Microsoft ISA Server 2006, Part 1: Introduction</a>.</p>
<p><span id="more-960"></span></p>
<h3>Update Service Pack 1</h3>
<p>From <a href="http://www.linglom.com/2009/10/06/getting-started-with-microsoft-isa-server-2006-part-3-installation/">Part 3: Installation</a>, I have installed ISA Server 2006 enterprise edition on the server. At this time, there is a service pack for ISA Server 2006 which you can download from Microsoft website. So I am going to show how to update the server to ISA Server 2006 Service Pack 1 on this post.<br />
<em><strong>Note: </strong></em>There are others security updates for ISA Server 2006 available besides the service pack which I will not cover on this series. So you should check and update them on your own.</p>
<p><!--adsense#Square--></p>
<p>There are many new features and enhancements on the ISA Server 2006 service pack 1:<br />
<strong>New Features</strong></p>
<ul>
<li>Configuration Change Tracking. Registers all configuration changes applied to ISA Server to help you assess issues that may occur as a result of these changes. </li>
<li>Web Publishing Rule Test Button. Tests the consistency of a Web publishing rule between the published server and ISA Server.</li>
<li>Traffic Simulator. Simulates network traffic in accordance with specified request parameters, such as an internal user and the Web server, providing information about firewall policy rules evaluated for the request.</li>
<li>Diagnostic Logging Query. Now integrated as a tab into the ISA Server Management console, this feature displays detailed events on packet progress and provides information about handling and rule matching.</li>
</ul>
<p><strong>Enhancements</strong></p>
<ul>
<li>Support for integrated NLB mode in all three modes, including unicast, multicast, and multicast with Internet Group Management Protocol (IGMP). Previously, ISA Server integrated NLB-supported unicast mode only.</li>
<li>Support for certificates with multiple Subject Alternative Name (SAN) entries in published web servers.</li>
<li>Kerberos Constrained Delegation (KCD) authentication supports trusted-domain user accounts.</li>
<li>Improve Web Publishing Load Balancing (WPLB) cookie handling.</li>
<li>Alert Improvements.</li>
<li>New performance counter.</li>
</ul>
<p>For more information about this service pack, see <a href="http://support.microsoft.com/kb/943462" target="_blank" rel="nofollow">Microsoft Article 943462</a>.</p>
<h3>Step-by-step</h3>
<ol>
<li>Download the file from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D2FECA6D-81D7-430A-9B2D-B070A5F6AE50&#038;displaylang=en" target="_blank" rel="nofollow">Microsoft Internet Security and Acceleration (ISA) Server 2006 Service Pack 1</a>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_1.png" width="200" height="104" alt="Microsoft Internet Security and Acceleration (ISA) Server 2006 Service Pack 1" title="Microsoft Internet Security and Acceleration (ISA) Server 2006 Service Pack 1"  /></a></li>
<li>Double-click the downloaded file, <strong>ISA2006-KB943462-X86-ENU.msp</strong>, to run the setup wizard.<br />
<img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/2.png" width="101" height="102" alt="Run ISA2006-KB943462-X86-ENU.msp" title="Run ISA2006-KB943462-X86-ENU.msp" /></li>
<li>On <strong>Welcome to the Update for Microsoft ISA Server 2006 Service Pack 1</strong>, click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_3.png" width="200" height="151" alt="Welcome to the Update for Microsoft ISA Server 2006 Service Pack 1" title="Welcome to the Update for Microsoft ISA Server 2006 Service Pack 1"  /></a></li>
<li>On <strong>License Agreement</strong>, select <strong>I accept the terms in the license agreement</strong> and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_4.png" width="200" height="151" alt="Accept License Terms" title="Accept License Terms"  /></a></li>
<li>On <strong>Locate Configuration Storage Server</strong>, you have to specify the Configuration Storage Server. On this example, I leave it as default and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_5.png" width="200" height="150" alt="Locate Configuration Storage Server" title="Locate Configuration Storage Server"  /></a></li>
<li>On <strong>Ready to Install the Program</strong>, click <strong>Install</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_6.png" width="200" height="151" alt="Start Update ISA Server 2006 Service Pack 1" title="Start Update ISA Server 2006 Service Pack 1"  /></a></li>
<li>On <strong>Installing Microsoft ISA Server 2006 Service Pack 1</strong>, wait until the installation completes.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_7.png" width="200" height="151" alt="Installing Microsoft ISA Server 2006 Service Pack 1" title="Installing Microsoft ISA Server 2006 Service Pack 1"  /></a></li>
<li>On <strong>Installation Wizard Completed</strong>, click <strong>Finish</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_8.png" width="200" height="151" alt="ISA Server 2006 Service Pack 1 Installation Wizard Completed" title="ISA Server 2006 Service Pack 1 Installation Wizard Completed"  /></a></li>
<li>There is a pop-up message asks you to restart the system for the configuration changes made to ISA Server 2006 to take effect. Click <strong>Yes</strong> to restart it now.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_9.png" width="200" height="93" alt="Restart the System" title="Restart the System"  /></a></li>
<li>Once the system is restarted, you can see the version of ISA Server 2006 is updated by open ISA Server Management. Click <strong>Start</strong> -> <strong>Programs</strong> -> <strong>Microsoft ISA Server</strong> -> <strong>ISA Server Management</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_10.png" width="200" height="134" alt="Open ISA Server Management" title="Open ISA Server Management"  /></a></li>
<li>On <strong>ISA Server Management</strong>, click <strong>Help</strong> -> <strong>About Microsoft ISA Server 2006</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/11.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_11.png" width="200" height="100" alt="About Microsoft ISA Server 2006" title="About Microsoft ISA Server 2006"  /></a></li>
<li>On <strong>About Microsoft ISA Server 2006</strong>, you see the current version of ISA Server 2006. The version of ISA Server 2006 Service Pack 1 is <strong>5.0.5723.493</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/12.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-4/_12.png" width="200" height="65" alt="ISA Server 2006 Version" title="ISA Server 2006 Version"  /></a></li>
</ol>
<h3>What&#8217;s Next?</h3>
<p>Now you have installed and updated ISA Server 2006. Next, I will show how to configure ISA Server 2006. See <a href="http://www.linglom.com/2009/10/19/getting-started-with-microsoft-isa-server-2006-part-5-network-layout-concept/">Part 5: Network Layout Concept</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/JgFKTMvIPQdfF7OlwDGWyrCSLCs/0/da"><img src="http://feedads.g.doubleclick.net/~a/JgFKTMvIPQdfF7OlwDGWyrCSLCs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JgFKTMvIPQdfF7OlwDGWyrCSLCs/1/da"><img src="http://feedads.g.doubleclick.net/~a/JgFKTMvIPQdfF7OlwDGWyrCSLCs/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/10/15/getting-started-with-microsoft-isa-server-2006-part-4-service-pack-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/10/15/getting-started-with-microsoft-isa-server-2006-part-4-service-pack-1/</feedburner:origLink></item>
		<item>
		<title>Getting started with Microsoft ISA Server 2006, Part 3: Installation</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/pd6uLvdacrA/</link>
		<comments>http://www.linglom.com/2009/10/06/getting-started-with-microsoft-isa-server-2006-part-3-installation/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 06:54:30 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Getting Started]]></category>
		<category><![CDATA[ISA Server 2006]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=958</guid>
		<description><![CDATA[This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at Getting started with Microsoft ISA Server 2006, Part 1: Introduction

ISA Server 2006 Installation
On this post, I show you how to install Microsoft ISA Server 2006 Enterprise edition on the server &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at <a href="http://www.linglom.com/2009/08/21/getting-started-with-microsoft-isa-server-2006-part-1-introduction/">Getting started with Microsoft ISA Server 2006, Part 1: Introduction</a></p>
<p><span id="more-958"></span></p>
<h3>ISA Server 2006 Installation</h3>
<p>On this post, I show you how to install Microsoft ISA Server 2006 Enterprise edition on the server &#8211; BKKISA001. You can see the server and network configuration of the example at <a href="http://www.linglom.com/2009/09/28/getting-started-with-microsoft-isa-server-2006-part-2-environment-setup/">Part 2 &#8211; Environment Setup</a>.<br />
<em><strong>Note: </strong></em>On this series, I demonstrate using Microsoft ISA Server 2006 enterprise edition. But I will use only basic features which are available on both standard and enterprise editions. So if you have only a standard edition, you still can follow this series but you may notice that the user interface may slightly different a little bit.</p>
<p><!--adsense#Square--></p>
<h3>Step-by-step</h3>
<ol>
<li>Insert ISA Server 2006 Enterprise edition CD-Rom, you will see <strong>Microsoft ISA Server 2006 Setup</strong> window. Click <strong>Install ISA Server 2006</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_1.png" width="200" height="208" alt="Microsoft ISA Server 2006 Auto-run Setup" title="Microsoft ISA Server 2006 Auto-run Setup"  /></a></li>
<li><strong>Microsoft ISA Server Installer</strong> is starting and beginning with <strong>Core Components</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_2.png" width="200" height="115" alt="Microsoft ISA Server Installer" title="Microsoft ISA Server Installer"  /></a></li>
<li>On <strong>Welcome to the Installation Wizard for Microsoft ISA Server 2006</strong>, click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_3.png" width="200" height="151" alt="ISA Server 2006 Installation Wizard" title="ISA Server 2006 Installation Wizard"  /></a></li>
<li>On License Agreement, select <strong>I agree the terms in the license agreement</strong> and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_4.png" width="200" height="151" alt="Accept License Agreement" title="Accept License Agreement"  /></a></li>
<li>On <strong>Customer Information</strong>, enter your user name, organization name and the product serial number. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_5.png" width="200" height="151" alt="Enter Customer Information" title="Enter Customer Information"  /></a></li>
<li>On <strong>Setup Scenarios</strong>, select <strong>Install both ISA Server services and Configuration Storage Server</strong> and click <strong>Next</strong>.<br />
<em><strong>Note:</strong></em> Scenarios description:</p>
<ul>
<li>Install ISA Server services. You can select this option to install on ISA Server services without the Configuration Storage server so you will have to specify the existing Configuration Storage server on the network at the next step.</li>
<li>Install Configuration Storage server. This option will install only Configuration Storage server for ISA Server arrays to retrieve the configuration.</li>
<li>Install both ISA Server services and Configuration Storage server. This option will install both ISA Server services and Configuration Storage server. </li>
<li>Install ISA Server Management. Select this option if you want to install only the management console for ISA Server so you can remotely manage ISA Server enterprise.</li>
</ul>
<p><a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_6.png" width="200" height="150" alt="Select Scenario for ISA Server 2006 Installation" title="Select Scenario for ISA Server 2006 Installation"  /></a></li>
<li>On <strong>Component Selection</strong>, leave as default selection and click <strong>Next</strong>.<br />
<em><strong>Note:</strong></em>Components description:</p>
<ul>
<li>ISA Server. Controls access and traffic between networks.</li>
<li>Advanced Logging. Installs Microsoft Data Engine (MSDE) used to view and to filter historical log data</li>
<li>ISA Server Management. Allows remote management of ISA Server using ISA Server Management console snap-in.</li>
<li>Configuration Storage server. Stores the enterprise configuration for ISA Server arrays.</li>
</ul>
<p><a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_7.png" width="200" height="150" alt="Select Component for ISA Server 2006 Installation" title="Select Component for ISA Server 2006 Installation"  /></a></li>
<li>On Enterprise Installation Options, select <strong>Create a new ISA server enterprise</strong> and click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_8.png" width="200" height="150" alt="Create New ISA Server Enterprise" title="Create New ISA Server Enterprise"  /></a></li>
<li>On <strong>New Enterprise Warning</strong>, click <strong>Next</strong>. This is a message telling you that they recommend only a single enterprise in your organization for ease of centralize management. If you already have an existing Configuration Storage server, you should select <strong>Create a replica of the enterprise configuration</strong> in the previous step.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_9.png" width="200" height="150" alt="New Enterprise Warning Message" title="New Enterprise Warning Message"  /></a></li>
<li>On <strong>Internal Network</strong>, you have to specify the network address ranges of your internal network. Click <strong>Add</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_10.png" width="200" height="150" alt="Configure Internal Network Address Ranges" title="Configure Internal Network Address Ranges"  /></a></li>
<li>On <strong>Addresses</strong>, you can add IP address ranges by add from network adapter, add from private network or add range manually. I will add from adapter, click <strong>Add Adapter</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/11.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_11.png" width="200" height="215" alt="Add IP Address ranges" title="Add IP Address ranges"  /></a></li>
<li>On <strong>Select Network Adapters</strong>, select the network card interface which connects to the internal network and click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/12.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_12.png" width="200" height="190" alt="Select Network Adapters" title="Select Network Adapters"  /></a></li>
<li>Back to <strong>Addresses</strong>, check if the internal network range is correct or not. Then, click <strong>OK</strong> to continue.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/13.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_13.png" width="200" height="215" alt="Internal Network IP Address range" title="Internal Network IP Address range"  /></a></li>
<li>Back to <strong>Internal Network</strong>, click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/14.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_14.png" width="200" height="150" alt="Internal Network" title="Internal Network"  /></a></li>
<li>On <strong>Firewall Clients Connections</strong>, click <strong>Next</strong>.<br />
<em><strong>Note:</strong></em> If you haven&#8217;t upgrade from ISA 2000 or 2004, leave the check box <strong>Allow non-encrypted Firewall client connections</strong> empty. Otherwise, check the box before continue.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/15.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_15.png" width="200" height="150" alt="Firewall Clients Connections" title="Firewall Clients Connections"  /></a></li>
<li>On <strong>Services Warning</strong>, click <strong>Next</strong>.<br />
<em><strong>Note:</strong></em> This is a warning message that some services will be restarted or disabled while the installation is in progress.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/16.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_16.png" width="200" height="150" alt="Restart or Disable Services Warning" title="Restart or Disable Services Warning"  /></a></li>
<li>On <strong>Ready to Install the Program</strong>, click Install to begin the ISA Server 2006 Installation.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/17.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_17.png" width="200" height="151" alt="Begin ISA Server 2006 Installation" title="Begin ISA Server 2006 Installation"  /></a></li>
<li>On <strong>Installing Microsoft ISA Server 2006</strong>, waits for the installation to be complete.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/18.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_18.png" width="200" height="151" alt="Installing Microsoft ISA Server 2006" title="Installing Microsoft ISA Server 2006"  /></a></li>
<li><strong>Microsoft ISA Server Installer</strong> is installing Additional Components.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/19.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_19.png" width="200" height="115" alt="Installing Additional Components" title="Installing Additional Components"  /></a></li>
<li><strong>Microsoft ISA Server Installer</strong> is initialize system.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/20.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_20.png" width="200" height="115" alt="System Initialization" title="System Initialization"  /></a></li>
<li>On <strong>Installation Wizard Completed</strong>, click <strong>Finish</strong> to complete the installation.<br />
<em><strong>Note:</strong></em> There is an option &#8211; <strong>Invoke ISA Server Management when the wizard closes</strong>. You can select this option to start ISA Server Management after closes the wizard. I will cover about ISA Server Management in the next part.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/21.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-3/_21.png" width="200" height="151" alt="ISA Server 2006 Installation Completes" title="ISA Server 2006 Installation Completes"  /></a></li>
</ol>
<h3>What&#8217;s Next?</h3>
<p>You have done the installation. Next, I will show how to update ISA Server 2006 with the service pack 1. See <a href="http://www.linglom.com/2009/10/15/getting-started-with-microsoft-isa-server-2006-part-4-service-pack-1/">Part 4: Service Pack 1</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/n7XrbRJhxAQcpm_Pj3hEdtGzd4c/0/da"><img src="http://feedads.g.doubleclick.net/~a/n7XrbRJhxAQcpm_Pj3hEdtGzd4c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/n7XrbRJhxAQcpm_Pj3hEdtGzd4c/1/da"><img src="http://feedads.g.doubleclick.net/~a/n7XrbRJhxAQcpm_Pj3hEdtGzd4c/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/10/06/getting-started-with-microsoft-isa-server-2006-part-3-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/10/06/getting-started-with-microsoft-isa-server-2006-part-3-installation/</feedburner:origLink></item>
		<item>
		<title>Getting started with Microsoft ISA Server 2006, Part 2: Environment Setup</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/puP_dK03mNk/</link>
		<comments>http://www.linglom.com/2009/09/28/getting-started-with-microsoft-isa-server-2006-part-2-environment-setup/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 02:15:15 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[ISA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Getting Stared]]></category>
		<category><![CDATA[ISA Server 2006]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=956</guid>
		<description><![CDATA[This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at Getting started with Microsoft ISA Server 2006, Part 1: Introduction

Environment Setup
In the first part, you learn an overview of ISA Server 2006. Before going to the real example on ISA Server [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Getting started with Microsoft ISA Server 2006. You can see the index of this series at <a href="http://www.linglom.com/2009/08/21/getting-started-with-microsoft-isa-server-2006-part-1-introduction/">Getting started with Microsoft ISA Server 2006, Part 1: Introduction</a></p>
<p><span id="more-956"></span></p>
<h3>Environment Setup</h3>
<p>In the first part, you learn an overview of ISA Server 2006. Before going to the real example on ISA Server 2006, you should know system environment which I&#8217;m going to use on this series. On this post, you will know the hardware and software requirements for ISA Server 2006. And you will see the server and network configurations.</p>
<p><!--adsense#Square--></p>
<h4>System Requirements</h4>
<p>Below is the minimum requirements for ISA Server 2006 Standard Edition or ISA Server 2006 Enterprise Edition.</p>
<ul>
<li>Pentium III 733 MHz or higher.</li>
<li>512 MB of RAM or more.</li>
<li>150 MB of free hard-disk space.</li>
<li>Microsoft Windows Server 2003 32-bit operating system with Service Pack 1 (SP1) or Microsoft Windows Server 2003 R2 32-bit.</li>
</ul>
<h4>Server Configuration</h4>
<p>There are three servers which I will use throughout this series. I already have the following servers in the network:</p>
<ul>
<li><strong>BKKPDC001</strong> which runs under Windows Server 2003 R2 with Service Pack 2. It runs these services:
<ul>
<li>Active directory</li>
<li>DNS</li>
<li>DHCP
<ul>
<li>Address pool: 192.168.10.101-192.168.10.150</li>
<li>Scope option: DNS Servers &#8211; 192.168.10.2, 203.144.255.71, 203.144.255.72<br />
<em><strong>Note: </strong></em>The IP address 203.144.255.71 and 203.144.255.72 are the IP addresses of my ISP&#8217;s DNS servers.</li>
</ul>
</li>
<li>IP Configuration:
<ul>
<li>IP address: 192.168.10.2/24</li>
<li>Gateway: 192.168.10.10</li>
<li>DNS Server: 192.168.10.2, 203.144.255.71, 203.144.255.72<br />
<em><strong>Note: </strong></em>The IP address 203.144.255.71 and 203.144.255.72 are the IP addresses of my ISP&#8217;s DNS servers.</li>
</ul>
</li>
</ul>
</li>
<li><strong>BKKNET001</strong> which runs under Windows XP Professional. This is a client PC for test Internet access. The IP address is obtained from the DHCP server.</li>
<li><strong>BKKISA001</strong> which runs under Windows Server 2003 Standard edition with Service Pack 2. I am going to setup ISA Server 2006 on this server. There are two network interface cards on this server.
<ul>
<li>Internal network (LAN):
<ul>
<li>IP Address: 192.168.10.10/24</li>
<li>Gateway: 192.168.10.2</li>
<li>DNS Server: 192.168.10.2, 203.144.255.71, 203.144.255.72<br />
<em><strong>Note: </strong></em>The IP address 203.144.255.71 and 203.144.255.72 are the IP addresses of my ISP&#8217;s DNS servers.</li>
</ul>
</li>
<li>External network (the Internet):
<ul>
<li>IP Address: 192.168.0.10/24</li>
<li>Gateway: 192.168.0.1</li>
<li>DNS Server: None</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4>Network Configuration</h4>
<p>I try to keep the network configuration simple as possible. You will see on the left side of the ISA Server 2006 server are my internal network (LAN). It contains clients and a server of my network. On the right side of the ISA Server 2006 server is the external network. It connects to the router which connects to the Internet. </p>
<p>The image below is the network diagram of my example.<br />
<a href="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-2/network_diagram.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Security/ISA-Server/Getting-Started/Part-2/_network_diagram.png" width="200" height="89" alt="Network Diagram" title="Network Diagram"  /></a></p>
<h4>What&#8217;s Next?</h4>
<p>Next, I will show how to install ISA Server 2006 on the server. See <a href="http://www.linglom.com/2009/10/06/getting-started-with-microsoft-isa-server-2006-part-3-installation/">Part 3: Installation</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0pVQVZsufxf0a7MKlrie1u1CSfI/0/da"><img src="http://feedads.g.doubleclick.net/~a/0pVQVZsufxf0a7MKlrie1u1CSfI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0pVQVZsufxf0a7MKlrie1u1CSfI/1/da"><img src="http://feedads.g.doubleclick.net/~a/0pVQVZsufxf0a7MKlrie1u1CSfI/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/09/28/getting-started-with-microsoft-isa-server-2006-part-2-environment-setup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/09/28/getting-started-with-microsoft-isa-server-2006-part-2-environment-setup/</feedburner:origLink></item>
		<item>
		<title>Offline Update Nod32 Antivirus</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/WRmKmDHQbGo/</link>
		<comments>http://www.linglom.com/2009/09/16/offline-update-nod32-antivirus/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 02:05:17 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[Nod32]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=1045</guid>
		<description><![CDATA[Introduction
If you have a stand alone PC which doesn&#8217;t has an Internet connection and you have installed nod32 antivirus, nod32 antivirus will not be able to download update for the signature so you have to update the virus signature database manually. Otherwise, your PC may be at risk of virus attacks.


On this example, I show [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>If you have a stand alone PC which doesn&#8217;t has an Internet connection and you have installed nod32 antivirus, nod32 antivirus will not be able to download update for the signature so you have to update the virus signature database manually. Otherwise, your PC may be at risk of virus attacks.</p>
<p><span id="more-1045"></span></p>
<p><!--adsense#Square--></p>
<p>On this example, I show how to update virus signature database of nod32 antivirus version 4 business edition. You also can apply these steps to nod32 antivirus version 2, 3 and home edition. But I have not include the update for version 2 so you have to find the update file somewhere else.</p>
<h3>Step-by-step</h3>
<ol>
<li>You see the virus signature database is failed to update on a stand alone PC.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_1.png" width="200" height="156" alt="Nod32 Antivirus Virus Signature Database Update Failed" title="Nod32 Antivirus Virus Signature Database Update Failed"  /></a></li>
<li>Download virus signature database of nod32 anti-virus from <a href="http://forum.linglom.com/index.php?topic=687.0" target="_blank">Virus Signature Update for Nod32 v3 &#038; v4</a></li>
<li>Extract the downloaded file to a folder. On this example, I extract to c:\.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_2.png" width="200" height="131" alt="Extract the downloaded file" title="Extract the downloaded file"  /></a></li>
<li>Open Eset Nod32 Antivirus, click on <strong>Setup</strong> -> <strong>Toggle Advanced Mode</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_3.png" width="200" height="156" alt="Eset Nod32 Antivirus 4 Business Edition" title="Eset Nod32 Antivirus 4 Business Edition"  /></a></li>
<li>On <strong>Toggle Advanced Mode</strong>, click <strong>Yes</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_4.png" width="200" height="92" alt="Toggle Advanced Mode" title="Toggle Advanced Mode"  /></a></li>
<li>Open Advanced Setup window. Click on <strong>Setup</strong> -> <strong>Advanced Setup</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_5.png" width="200" height="140" alt="Open Advanced Setup" title="Open Advanced Setup"  /></a></li>
<li>Edit Update Server. On <strong>Setup</strong>, click on <strong>Update</strong> on the left menu -> <strong>Edit</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_6.png" width="200" height="127" alt="Modify Update Server" title="Modify Update Server"  /></a></li>
<li>On <strong>Update Server list</strong>, copy the path from the extracted folder on step 2 to Update Servers box and click Add. On this example, I copy <strong>&#8220;C:\update nod32v3v4_4360&#8243;</strong> and paste to Update Servers box. Then, click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_7.png" width="200" height="133" alt="Add Update Path" title="Add Update Path"  /></a></li>
<li>You notice that the value on Update Server box is changed. Click <strong>OK</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/8.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_8.png" width="200" height="127" alt="Update Server is Changed" title="Update Server is Changed"  /></a></li>
<li>Click <strong>Update</strong> -> <strong>Update virus signature database</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/9.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_9.png" width="200" height="156" alt="Update virus signature database" title="Update virus signature database"  /></a></li>
<li>Now the virus signature database is updated.<br />
<a href="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/10.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Tips/Offline-Update-Nod32/_10.png" width="200" height="156" alt="Successfully update virus signature database of Nod32 Antivirus" title="Successfully update virus signature database of Nod32 Antivirus"  /></a></li>
</ol>

<p><a href="http://feedads.g.doubleclick.net/~a/FvZwTVt7iKW03usA3R7Trf2xuPY/0/da"><img src="http://feedads.g.doubleclick.net/~a/FvZwTVt7iKW03usA3R7Trf2xuPY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FvZwTVt7iKW03usA3R7Trf2xuPY/1/da"><img src="http://feedads.g.doubleclick.net/~a/FvZwTVt7iKW03usA3R7Trf2xuPY/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/09/16/offline-update-nod32-antivirus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/09/16/offline-update-nod32-antivirus/</feedburner:origLink></item>
		<item>
		<title>Accessing MS Access 2007 on NetBeans 6.5 using JDBC, Part 4: Perform SQL Operations</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/NxA9bFqjgEc/</link>
		<comments>http://www.linglom.com/2009/09/07/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-4-perform-sql-operations/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 23:33:19 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[JDBC]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=1032</guid>
		<description><![CDATA[
This article is one of the series of Accessing Access 2007 on NetBeans 6.5 using JDBC. You can see the index of this series at Accessing Access 2007 on NetBeans 6.5 using JDBC, Part 1: Introduction

Perform SQL Operations
From Part 3: Create a Connection, I show how to create a connection from NetBeans 6.5 to the [...]]]></description>
			<content:encoded><![CDATA[<p><a name="top"></a><br />
This article is one of the series of Accessing Access 2007 on NetBeans 6.5 using JDBC. You can see the index of this series at <a href="http://www.linglom.com/2009/08/24/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-1-introduction/">Accessing Access 2007 on NetBeans 6.5 using JDBC, Part 1: Introduction</a></p>
<p><span id="more-1032"></span></p>
<h3>Perform SQL Operations</h3>
<p>From <a href="http://www.linglom.com/2009/08/31/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-3-create-a-connection/">Part 3: Create a Connection</a>, I show how to create a connection from NetBeans 6.5 to the Northwind database of Microsoft Access 2007. On this post, you see how to perform basic SQL operations such as SELECT, INSERT, DELETE and UPDATE to the Customers table on Northwind database. </p>
<ul>
<li><a href="#1">Retrieve data from database</a></li>
<li><a href="#2">Update data on database</a></li>
</ul>
<p><a name="1"></a></p>
<h4>Retrieve data from database</h4>
<p>Copy and paste the code below on main method between these lines:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Connected!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">con.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>The Code</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="java" style="font-family:monospace;">            <span style="color: #003399;">Statement</span> stmt <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">ResultSet</span> rs <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #666666; font-style: italic;">// SQL query command</span>
            <span style="color: #003399;">String</span> SQL <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM Customers&quot;</span><span style="color: #339933;">;</span>
            stmt <span style="color: #339933;">=</span> con.<span style="color: #006633;">createStatement</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            rs <span style="color: #339933;">=</span> stmt.<span style="color: #006633;">executeQuery</span><span style="color: #009900;">&#40;</span>SQL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span>rs.<span style="color: #006633;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>rs.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Company&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; : &quot;</span>
                        <span style="color: #339933;">+</span> rs.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;First Name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; : &quot;</span>
                        <span style="color: #339933;">+</span> rs.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Last Name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>Code Explanation:</strong></p>
<ul>
<li>Line 1-2: Declare some variables.</li>
<li>Line 5: Define SQL query string.</li>
<li>Line 6: Create a statement object for sending SQL statements to the database.</li>
<li>Line 7: Executes the SQL statement and returns a single ResultSet object.</li>
<li>Line 8-12: Iterative in the ResultSet object to show results on output window</li>
</ul>
<p><a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-4/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-4/_1.png" width="200" height="113" alt="Query Code" title="Query Code"  /></a></p>
<p>Next, run the project. You see the result on the output window. It displays records from Customers table.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-4/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-4/_2.png" width="200" height="313" alt="Query Result" title="Query Result"  /></a><br />
<a href="#top">Back to top</a></p>
<p><a name="2"></a></p>
<h4>Update data on database</h4>
<p>To insert, update and delete records on MS Access 2007 databases, you can re-use the code from the previous section. But you need to replace the SQL statement and code on this line:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">rs <span style="color: #339933;">=</span> stmt.<span style="color: #006633;">executeQuery</span><span style="color: #009900;">&#40;</span>SQL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span>rs.<span style="color: #006633;">next</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>rs.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Company&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; : &quot;</span>
                        <span style="color: #339933;">+</span> rs.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;First Name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; : &quot;</span>
                        <span style="color: #339933;">+</span> rs.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Last Name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">int</span> rowsEffected <span style="color: #339933;">=</span> stmt.<span style="color: #006633;">executeUpdate</span><span style="color: #009900;">&#40;</span>SQL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>rowsEffected <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; rows effected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Code Explanation: </strong><br />
Executes the given SQL statement which may be INSERT, UPDATE or DELETE statement and returns the row count for the update.</p>
<p><strong>INSERT command</strong></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">            <span style="color: #666666; font-style: italic;">// SQL INSERT command</span>
            <span style="color: #003399;">String</span> SQL <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;INSERT INTO Customers (Company,[First Name],&quot;</span> <span style="color: #339933;">+</span>
                    <span style="color: #0000ff;">&quot;[Last Name]) VALUES ('MyCompany','Linglom','My Last Name')&quot;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">int</span> rowsEffected <span style="color: #339933;">=</span> stmt.<span style="color: #006633;">executeUpdate</span><span style="color: #009900;">&#40;</span>SQL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>rowsEffected <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; rows effected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>UPDATE command</strong></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">            <span style="color: #666666; font-style: italic;">// SQL UPDATE command</span>
            <span style="color: #003399;">String</span> SQL <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;UPDATE Customers SET [Last Name] = 'New Last Name'&quot;</span> <span style="color: #339933;">+</span>
                            <span style="color: #0000ff;">&quot;WHERE [First Name] = 'Linglom'&quot;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">int</span> rowsEffected <span style="color: #339933;">=</span> stmt.<span style="color: #006633;">executeUpdate</span><span style="color: #009900;">&#40;</span>SQL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>rowsEffected <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; rows effected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>DELETE command</strong></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">            <span style="color: #666666; font-style: italic;">// SQL DELETE command</span>
            <span style="color: #003399;">String</span> SQL <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;DELETE FROM Customers WHERE [First Name] = 'Linglom'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">int</span> rowsEffected <span style="color: #339933;">=</span> stmt.<span style="color: #006633;">executeUpdate</span><span style="color: #009900;">&#40;</span>SQL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>rowsEffected <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; rows effected&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>Summary</h3>
<p>You can download the source code of this series at <a href="http://forum.linglom.com/index.php?topic=685.0">SampleAccess2007.java</a>. The example code will create a connection to Northwind database on Microsoft Access 2007. Then, retrieve records, insert a new record, update and delete the record from Customer table. Here is output of the example code.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-4/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-4/_3.png" width="200" height="111" alt="Update Result" title="Update Result"  /></a><br />
<a href="#top">Back to top</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/gfho1WUuZ6o_9oEq-g6uo9PgzN4/0/da"><img src="http://feedads.g.doubleclick.net/~a/gfho1WUuZ6o_9oEq-g6uo9PgzN4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gfho1WUuZ6o_9oEq-g6uo9PgzN4/1/da"><img src="http://feedads.g.doubleclick.net/~a/gfho1WUuZ6o_9oEq-g6uo9PgzN4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/09/07/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-4-perform-sql-operations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/09/07/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-4-perform-sql-operations/</feedburner:origLink></item>
		<item>
		<title>Accessing MS Access 2007 on NetBeans 6.5 using JDBC, Part 3: Create a Connection</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/yPL3VrJRNj0/</link>
		<comments>http://www.linglom.com/2009/08/31/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-3-create-a-connection/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 03:45:21 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[JDBC]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=1029</guid>
		<description><![CDATA[This article is one of the series of Accessing MS Access 2007 on NetBeans 6.5 using JDBC. You can see the index of this series at Accessing Access 2007 on NetBeans 6.5 using JDBC, Part 1: Introduction

Create a Connection
From Part 2: Prepare Sample Database, I show how to setup Northwind database for Microsoft Access 2007. [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Accessing MS Access 2007 on NetBeans 6.5 using JDBC. You can see the index of this series at <a href="http://www.linglom.com/2009/08/24/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-1-introduction/">Accessing Access 2007 on NetBeans 6.5 using JDBC, Part 1: Introduction</a></p>
<p><span id="more-1029"></span></p>
<h3>Create a Connection</h3>
<p>From <a href="http://www.linglom.com/2009/08/27/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-2-prepare-sample-database/">Part 2: Prepare Sample Database</a>, I show how to setup Northwind database for Microsoft Access 2007. Now let&#8217;s start programming. On this post, you see how to create a connection from NetBeans 6.5 to the Northwind database of Microsoft Access 2007 which located at &#8220;c:\database\Northwind 2007.accdb&#8221;. </p>
<p><!--adsense#Square--></p>
<h3>Step-by-step</h3>
<ol>
<li>Create a new Java Application project on NetBeans. Open NetBeans 6.5.1 and select <strong>File</strong> -> <strong>New Project</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_1.png" width="200" height="150" alt="New Project on NetBeans" title="New Project on NetBeans"  /></a></li>
<li>On <strong>New Project</strong>, select <strong>Java</strong> -> <strong>Java Application</strong>. Click <strong>Next</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_2.png" width="200" height="138" alt="Select Java Application" title="Select Java Application"  /></a></li>
<li>On <strong>New Java Application</strong>, type the project name <strong>&#8220;NorthwindSample&#8221;</strong> and click <strong>Finish</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_3.png" width="200" height="129" alt="Type Project Name for New Java Application" title="Type Project Name for New Java Application"  /></a></li>
<li>The project <strong>&#8220;NorthwindSample&#8221;</strong> is created.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_4.png" width="200" height="150" alt="NorthwindSample's Project" title="NorthwindSample's Project"  /></a></li>
<li>Let&#8217;s begin the programming part. First, I need to import some libraries.

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.sql.*</span><span style="color: #339933;">;</span></pre></div></div>

<p><a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_5.png" width="200" height="117" alt="Import Libraries" title="Import Libraries"  /></a></li>
<li>Type the code below to the main method.

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">Class</span>.<span style="color: #006633;">forName</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003399;">String</span> url <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;jdbc:odbc:Driver={Microsoft Access Driver &quot;</span> <span style="color: #339933;">+</span>
            <span style="color: #0000ff;">&quot;(*.mdb, *.accdb)};DBQ=C:<span style="color: #000099; font-weight: bold;">\\</span>Database<span style="color: #000099; font-weight: bold;">\\</span>Northwind 2007.accdb&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #003399;">Connection</span> con <span style="color: #339933;">=</span> <span style="color: #003399;">DriverManager</span>.<span style="color: #006633;">getConnection</span><span style="color: #009900;">&#40;</span>url<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Connected!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        con.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">SQLException</span> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SQL Exception: &quot;</span><span style="color: #339933;">+</span> e.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">ClassNotFoundException</span> cE<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Class Not Found Exception: &quot;</span><span style="color: #339933;">+</span>
                cE.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>Code Explanation:</strong></p>
<ul>
<li><em>Line 2:</em> Class.forName(&#8221;sun.jdbc.odbc.JdbcOdbcDriver&#8221;); means load the JDBC-ODBC driver.</li>
<li><em>Line 3-4:</em> String url = &#8220;jdbc:odbc:Driver={Microsoft Access Driver &#8221; + &#8220;(*.mdb, *.accdb)};DBQ=C:\\Database\\Northwind 2007.accdb&#8221;; declare a variable which store a string of the driver name for Microsoft Access 2007 and the location of the Northwind database.</li>
<li><em>Line 5:</em> Make a connection using information on the variable which was created before.</li>
<li><em>Line 6:</em> Display &#8220;Connected!&#8221; on console window.</li>
<li><em>Line 7:</em> Close the connection.</li>
</ul>
<p><a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_6.png" width="200" height="112" alt="Code to Connect To MS Access 2007" title="Code to Connect To MS Access 2007"  /></a></li>
<li>Compile and run the project. You see the text <strong>&#8220;Connected!&#8221;</strong> on the output window. Otherwise, you should see an exception message.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-3/_7.png" width="200" height="84" alt="Connected to MS Access 2007's Database" title="Connected to MS Access 2007's Database"  /></a></li>
</ol>
<h3>What&#8217;s Next?</h3>
<p>Now you have connected to the Northwind database of Microsoft Access 2007. Next, I will show how to perform some basic SQL operations such as SELECT, INSERT, UPDATE and DELETE to the Northwind database. See <a href="http://www.linglom.com/2009/09/07/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-4-perform-sql-operations/">Part 4: Perform SQL Operations</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/6NcxHB5e7G0JMbfCcBHKnUynulc/0/da"><img src="http://feedads.g.doubleclick.net/~a/6NcxHB5e7G0JMbfCcBHKnUynulc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6NcxHB5e7G0JMbfCcBHKnUynulc/1/da"><img src="http://feedads.g.doubleclick.net/~a/6NcxHB5e7G0JMbfCcBHKnUynulc/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/08/31/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-3-create-a-connection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/08/31/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-3-create-a-connection/</feedburner:origLink></item>
		<item>
		<title>Accessing MS Access 2007 on NetBeans 6.5 using JDBC, Part 2: Prepare Sample Database</title>
		<link>http://feedproxy.google.com/~r/LinglomsBlog/~3/hs8ClnRkRLE/</link>
		<comments>http://www.linglom.com/2009/08/27/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-2-prepare-sample-database/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 04:02:06 +0000</pubDate>
		<dc:creator>linglom</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[JDBC]]></category>

		<guid isPermaLink="false">http://www.linglom.com/?p=1023</guid>
		<description><![CDATA[This article is one of the series of Accessing MS Access 2007 on NetBeans 6.5 using JDBC. You can see the index of this series at Accessing Access 2007 on NetBeans 6.5 using JDBC, Part 1: Introduction

Prepare Sample Database
On this post, I show how to prepare a sample database for Microsoft Access 2007, the &#8220;Northwind&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>This article is one of the series of Accessing MS Access 2007 on NetBeans 6.5 using JDBC. You can see the index of this series at <a href="http://www.linglom.com/2009/08/24/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-1-introduction/">Accessing Access 2007 on NetBeans 6.5 using JDBC, Part 1: Introduction</a></p>
<p><span id="more-1023"></span></p>
<h3>Prepare Sample Database</h3>
<p>On this post, I show how to prepare a sample database for Microsoft Access 2007, the <strong>&#8220;Northwind&#8221;</strong> database. </p>
<p><!--adsense#Square--></p>
<h3>Step-by-step</h3>
<ol>
<li>Open Microsoft Access 2007, click on <strong>Local Templates</strong>. If you have <strong>Northwind 2007</strong> on <strong>Local Templates</strong>, click on it and skip to step 4. Otherwise, follow the next step to download one.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/1.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_1.png" width="200" height="140" alt="Northwind 2007 on Local Templates" title="Northwind 2007 on Local Templates"  /></a></li>
<li>Download Northwind template for Access 2007 from Microsoft &#8211; <a href="http://office.microsoft.com/en-us/templates/TC012289971033.aspx?CategoryID=CT101428651033" target="_blank" rel="nofollow">Northwind 2007</a>.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/2.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_2.png" width="200" height="261" alt="Download Northwind template for Access 2007" title="Download Northwind template for Access 2007"  /></a></li>
<li>Extract the downloaded file, 01228997.cab. Then, double-click on <strong>01228997.accdt</strong>. Microsoft Office Access 2007 will start.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/3.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_3.png" width="200" height="145" alt="Northwind 2007" title="Northwind 2007"  /></a></li>
<li>On <strong>Microsoft Access</strong>, choose the destination to create a sample Northwind 2007. On this example, I choose <strong>&#8220;c:\database\Northwind 2007.accdb&#8221;</strong>. Then, click <strong>Create</strong>.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/4.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_4.png" width="200" height="144" alt="Create sample Northwind database for Microsoft Access 2007" title="Create sample Northwind database for Microsoft Access 2007"  /></a></li>
<li>Now the sample Northwind database is created. Click on <strong>Navigation Pane</strong> on the left side menu.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/5.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_5.png" width="200" height="144" alt="Northwind Sample Database" title="Northwind Sample Database"  /></a></li>
<li>On <strong>Navigation Pane</strong>, click on <strong>Supporting Objects</strong> and double-click on <strong>Customers</strong>. You see data in the Customers table.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/6.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_6.png" width="200" height="144" alt="View Sample Data" title="View Sample Data"  /></a></li>
<li>You also see the sample database file on <strong>c:\database\Northwind 2007.accdb</strong> which was created on step 4. I will use this path in the later part.<br />
<a href="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/7.png" target="_blank"><img src="http://www.linglom.com/images/Windows/Programming/NetBeans-MSAccess2007/Part-2/_7.png" width="200" height="150" alt="Northwind 2007.accdb" title="Northwind 2007.accdb"  /></a></li>
</ol>
<h3>What&#8217;s Next?</h3>
<p>Now you have a sample database, Northwind. Next, I will show how to write code to create a connection from NetBeans 6.5 to the Northwind database. See <a href="http://www.linglom.com/2009/08/31/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-3-create-a-connection/">Part 3: Create a Connection</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/j5oINZOK7nVeBnHA7W6c9Gc7Yqs/0/da"><img src="http://feedads.g.doubleclick.net/~a/j5oINZOK7nVeBnHA7W6c9Gc7Yqs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/j5oINZOK7nVeBnHA7W6c9Gc7Yqs/1/da"><img src="http://feedads.g.doubleclick.net/~a/j5oINZOK7nVeBnHA7W6c9Gc7Yqs/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.linglom.com/2009/08/27/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-2-prepare-sample-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linglom.com/2009/08/27/accessing-ms-access-2007-on-netbeans-6-5-using-jdbc-part-2-prepare-sample-database/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 4.445 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-09 15:33:09 -->
