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

<channel>
	<title>moopoo.net &#187; Web Development</title>
	<atom:link href="http://moopoo.net/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://moopoo.net</link>
	<description>Fishing, technology and anything else</description>
	<lastBuildDate>Wed, 09 Jun 2010 11:34:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Highlighting row on form error with jQuery</title>
		<link>http://moopoo.net/web-development/jquery/highlighting-row-on-form-error-with-jquery/</link>
		<comments>http://moopoo.net/web-development/jquery/highlighting-row-on-form-error-with-jquery/#comments</comments>
		<pubDate>Mon, 18 May 2009 08:34:32 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://moopoo.net/?p=75</guid>
		<description><![CDATA[When showing errors in web forms, I thought it would be useful to highlight the row where the error occurred so the user can visually see where they they need to make changes. jQuery is the ideal way to do this for me as I didn&#8217;t want to do it server side.
To begin I set [...]]]></description>
			<content:encoded><![CDATA[<p>When showing errors in web forms, I thought it would be useful to highlight the row where the error occurred so the user can visually see where they they need to make changes. jQuery is the ideal way to do this for me as I didn&#8217;t want to do it server side.</p>
<p>To begin I set a CSS class on the error messages that were displayed in the td with the form element. An error message could be in the form of</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;span class=&quot;.valError&quot;&gt;You have selected an invalid date.&lt;/span&gt;</pre></div></div>

<p>Now all we have to do in jQuery is find all elements which match the class, remove any classes that may be on any of the td tags, then add a class to the tr in which the error exists.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.valError&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// remove all classes from any td's of the below the parent row</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;td&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #006600; font-style: italic;">// set the class on the tr</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'ms-informationbar'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>That&#8217;s it.</p>
<p>You could optionally set the class of the td rather than or as well as the tr. The following line would help you achieve this.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;td&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myErrorClass'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://moopoo.net/web-development/jquery/highlighting-row-on-form-error-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Crystal Reports from the web.</title>
		<link>http://moopoo.net/web-development/exporting-crystal-reports-from-the-web/</link>
		<comments>http://moopoo.net/web-development/exporting-crystal-reports-from-the-web/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 08:27:22 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[crystal reports]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://moopoo.net/blog/2007/10/23/exporting-crystal-reports-from-the-web/</guid>
		<description><![CDATA[Exporting Crystal Reports from a report displayed in the browser can be a pain, not least because it&#8217;s long winded, but also that I primarily use Firefox and the report rendering in anything other than IE is a joke.
For a while I have been trying to work out how I could export Crystal Reports in [...]]]></description>
			<content:encoded><![CDATA[<p>Exporting Crystal Reports from a report displayed in the browser can be a pain, not least because it&#8217;s long winded, but also that I primarily use Firefox and the report rendering in anything other than IE is a joke.</p>
<p>For a while I have been trying to work out how I could export Crystal Reports in various formats such as Excel and PDF without having to render the report in the web browser first. Some of our customers wanted the data to put into their spreadsheet application so they could manipulate the data to their hearts content and I wanted to still use the power of Crystal Reports as it meant that the people who are good at writing the reports could do it and save me the work.</p>
<p>I&#8217;d seen it done in Crystal 8 but had not seen anything that pulled it all together in XI. I think I was looking a little too hard, the solution was in fact pretty straight forward.</p>
<p>The method employed is pretty similar to the post I made on displaying Crystal Reports in the browser, with only a couple of exceptions.</p>
<p>Firstly, you don&#8217;t need to employ the ReportViewer control as the report is not being rendered to the browser.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008080; font-style: italic;">// Declare variables</span>
<span style="color: #0600FF;">private</span> ReportDocument document1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ReportDocument<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> TableLogOnInfos infos1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> TableLogOnInfos<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> TableLogOnInfo info2 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> TableLogOnInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> ConnectionInfo info1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ConnectionInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//  default export type</span>
ExportFormatType expFormat <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ExportFormatType<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
expFormat <span style="color: #008000;">=</span> ExportFormatType.<span style="color: #0000FF;">PortableDocFormat</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// load the report</span>
document1.<span style="color: #0000FF;">Load</span><span style="color: #000000;">&#40;</span>Request.<span style="color: #0000FF;">PhysicalApplicationPath</span> <span style="color: #008000;">+</span> “myReport.<span style="color: #0000FF;">rpt</span>”<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// Add the parameters</span>
document1.<span style="color: #0000FF;">SetParameterValue</span><span style="color: #000000;">&#40;</span>“param1″, “value1″<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
document1.<span style="color: #0000FF;">SetParameterValue</span><span style="color: #000000;">&#40;</span>“param2″, “value2″<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//Set the login info for the database</span>
info1.<span style="color: #0000FF;">ServerName</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span>“server_name”<span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
info1.<span style="color: #0000FF;">DatabaseName</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span>“database_name”<span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
info1.<span style="color: #0000FF;">UserID</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span>“user_id”<span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
info1.<span style="color: #0000FF;">Password</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span>“password”<span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
Tables tables1 <span style="color: #008000;">=</span> document1.<span style="color: #0000FF;">Database</span>.<span style="color: #0000FF;">Tables</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//Apply login info to the report</span>
<span style="color: #0600FF;">foreach</span> <span style="color: #000000;">&#40;</span>CrystalDecisions.<span style="color: #0000FF;">CrystalReports</span>.<span style="color: #0000FF;">Engine</span>.<span style="color: #0000FF;">Table</span> table1 <span style="color: #0600FF;">in</span> tables1<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    info2 <span style="color: #008000;">=</span> table1.<span style="color: #0000FF;">LogOnInfo</span><span style="color: #008000;">;</span>
    info2.<span style="color: #0000FF;">ConnectionInfo</span> <span style="color: #008000;">=</span> info1<span style="color: #008000;">;</span>
    table1.<span style="color: #0000FF;">ApplyLogOnInfo</span><span style="color: #000000;">&#40;</span>info2<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// Export the document</span>
HttpResponse Response <span style="color: #008000;">=</span> HttpContext.<span style="color: #0000FF;">Current</span>.<span style="color: #0000FF;">Response</span><span style="color: #008000;">;</span>
document1.<span style="color: #0000FF;">ExportToHttpResponse</span><span style="color: #000000;">&#40;</span>expFormat,Response,<span style="color: #0600FF;">true</span>,”Exported Report”<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
document1.<span style="color: #0000FF;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://moopoo.net/web-development/exporting-crystal-reports-from-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying Crystal Reports in a Web Browser</title>
		<link>http://moopoo.net/web-development/displaying-crystal-reports-in-a-web-browser/</link>
		<comments>http://moopoo.net/web-development/displaying-crystal-reports-in-a-web-browser/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 08:07:26 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[business objects]]></category>
		<category><![CDATA[crystal reports]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://moopoo.net/blog/2007/10/23/displaying-crystal-reports-in-a-web-browser/</guid>
		<description><![CDATA[Having tried for a while to find the right information for displaying Crystal Reports properly inside a web page using Crystal Report Viewer I finally managed to pull the information together into a solution that works; well for me anyway.
It&#8217;s worth mentioning that I don&#8217;t use the Crystal Reports extensions for Visual Studio, I have [...]]]></description>
			<content:encoded><![CDATA[<p>Having tried for a while to find the right information for displaying Crystal Reports properly inside a web page using Crystal Report Viewer I finally managed to pull the information together into a solution that works; well for me anyway.</p>
<p>It&#8217;s worth mentioning that I don&#8217;t use the Crystal Reports extensions for Visual Studio, I have Crystal Server running on the box. I can&#8217;t see how this method wouldn&#8217;t work through the Visual Studio extensions.</p>
<h3>Code Infront</h3>
<p>Register the assembly in the top of your aspx page</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;%</span>@ Register TagPrefix<span style="color: #008000;">=</span><span style="color: #666666;">&quot;cr&quot;</span> <span style="color: #0600FF;">Namespace</span><span style="color: #008000;">=</span><span style="color: #666666;">&quot;CrystalDecisions.Web&quot;</span> 
Assembly<span style="color: #008000;">=</span><span style="color: #666666;">&quot;CrystalDecisions.Web, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot;</span> <span style="color: #008000;">%&gt;</span></pre></div></div>

<p>Place the control where you want it to appear in the page.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span>cr<span style="color: #008000;">:</span>crystalreportviewer id<span style="color: #008000;">=</span><span style="color: #666666;">&quot;crReport1&quot;</span> runat<span style="color: #008000;">=</span><span style="color: #666666;">&quot;server&quot;</span> hasviewlist<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span>
    hastogglegrouptreebutton<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span> hassearchbutton<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span>
    hasgotopagebutton<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span> hasdrillupbutton<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span> hascrystallogo<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span>
    autodatabind<span style="color: #008000;">=</span><span style="color: #666666;">&quot;true&quot;</span> width<span style="color: #008000;">=</span><span style="color: #666666;">&quot;350px&quot;</span> displaygrouptree<span style="color: #008000;">=</span><span style="color: #666666;">&quot;False&quot;</span>
    height<span style="color: #008000;">=</span><span style="color: #666666;">&quot;50px&quot;</span> hyperlinktarget<span style="color: #008000;">=</span><span style="color: #666666;">&quot;_blank&quot;</span><span style="color: #008000;">&gt;</span></pre></div></div>

<h3>Code Behind</h3>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008080; font-style: italic;">// declare the variables</span>
<span style="color: #0600FF;">protected</span> CrystalReportViewer crReport1<span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> ReportDocument document1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ReportDocument<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> TableLogOnInfos infos1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> TableLogOnInfos<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> TableLogOnInfo info2 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> TableLogOnInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">private</span> ConnectionInfo info1 <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ConnectionInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// load the report</span>
document1.<span style="color: #0000FF;">Load</span><span style="color: #000000;">&#40;</span>Request.<span style="color: #0000FF;">PhysicalApplicationPath</span> <span style="color: #008000;">+</span> <span style="color: #666666;">&quot;myReport.rpt&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// Add the parameters</span>
document1.<span style="color: #0000FF;">SetParameterValue</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;param1&quot;</span>, <span style="color: #666666;">&quot;value1&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
document1.<span style="color: #0000FF;">SetParameterValue</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;param2&quot;</span>, <span style="color: #666666;">&quot;value2&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//Set the login info for the database</span>
info1.<span style="color: #0000FF;">ServerName</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;server_name&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
info1.<span style="color: #0000FF;">DatabaseName</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;database_name&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
info1.<span style="color: #0000FF;">UserID</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;user_id&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
info1.<span style="color: #0000FF;">Password</span> <span style="color: #008000;">=</span> ConfigurationSettings.<span style="color: #0000FF;">AppSettings</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;password&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
Tables tables1 <span style="color: #008000;">=</span> document1.<span style="color: #0000FF;">Database</span>.<span style="color: #0000FF;">Tables</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">//Apply login info to the report</span>
<span style="color: #0600FF;">foreach</span> <span style="color: #000000;">&#40;</span>CrystalDecisions.<span style="color: #0000FF;">CrystalReports</span>.<span style="color: #0000FF;">Engine</span>.<span style="color: #0000FF;">Table</span> table1 <span style="color: #0600FF;">in</span> tables1<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    info2 <span style="color: #008000;">=</span> table1.<span style="color: #0000FF;">LogOnInfo</span><span style="color: #008000;">;</span>
    info2.<span style="color: #0000FF;">ConnectionInfo</span> <span style="color: #008000;">=</span> info1<span style="color: #008000;">;</span>
    table1.<span style="color: #0000FF;">ApplyLogOnInfo</span><span style="color: #000000;">&#40;</span>info2<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// Bind the report</span>
crReport1.<span style="color: #0000FF;">ReportSource</span> <span style="color: #008000;">=</span> document1<span style="color: #008000;">;</span>
crReport1.<span style="color: #0000FF;">DataBind</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

<p>You also need to remember to close the document after it has been rendered to free up memory. This should ideally be done in the Page_Unload method. See <a href="http://msdn2.microsoft.com/en-us/library/ms225490(VS.80).aspx" title="MSDN post on where to close a report (Opens in a new window)" target="_blank">this post</a> on MSDN for more information on why it should be placed in Page_Unload.</p>
]]></content:encoded>
			<wfw:commentRss>http://moopoo.net/web-development/displaying-crystal-reports-in-a-web-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion Server Installation on Windows</title>
		<link>http://moopoo.net/technology/subversion-server-installation-%e2%80%93-win-32/</link>
		<comments>http://moopoo.net/technology/subversion-server-installation-%e2%80%93-win-32/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 11:15:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://moopoo.net/blog/2007/10/13/subversion-server-installation-%e2%80%93-win-32/</guid>
		<description><![CDATA[Update: While I was copying this post across from the original document I had it in, I was searching for the links to the files and I came across a post on THECRUMB.COM which states from subversion 1.4 whereby you can install the service without the need for a wrapper. You can bypass those steps [...]]]></description>
			<content:encoded><![CDATA[<p>Update: While I was copying this post across from the original document I had it in, I was searching for the links to the files and I came across a post on <a href="http://www.thecrumb.com/2006/10/24/svnservice-no-longer-needed-with-subversion-14/" title="The crumb blog post (Opens in a new window)" target="_blank">THECRUMB.COM</a> which states from subversion 1.4 whereby you can install the service without the need for a wrapper. You can bypass those steps if you like.</p>
<p>I&#8217;ve used Subversion for years and didn&#8217;t really want to move to <a href="http://msdn2.microsoft.com/en-us/vstudio/aa718670.aspx" title="Microsoft visual SourceSafe (Opens in a new window)" target="_blank">Visual SourceSafe</a>. Subversion does everything I need it to and I&#8217;ve never felt the need to move and be locked in to anything else. Unfortunately running windows meant I needed to find a way of installing Subversion on a windows box and running it as a server, I didn&#8217;t want to run Apache just for the sake of it. So here it is, my install technique for installing, running and managing repositories on Windows. One point to make, is that this guide uses <a href="http://tortoisesvn.tigris.org/" title="Tortoise Interface for SVN (Opens ina new window)" target="_blank">Tortoise SVN</a> to manage the repository. I could probably have done it just as easily from the command line but I have Tortoise installed so why make life hard.<br />
<strong> </strong></p>
<ol>
<li>Download and install the latest version of <a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91" title="Subversion binaries page (Opens in a new window)" target="_blank">SVN setup</a>.</li>
<li>Create a directory on the c: drive to hold the repository (i.e c:\svnrepo)</li>
<li>Extract <a href="http://svnservice.tigris.org/" title="SVN Service homepage (Opens in a new window)" target="_blank">SVNService.exe</a> to the same directory as svnserve.exe</li>
<li>Install SVNService as a service using the following command SVNService -install -d -r c:\svnrepo</li>
<li>Start the service from Windows Manage Computer</li>
</ol>
<h2>Creating a repository</h2>
<ol>
<li>Create folder inside your SVN Repository (c:\svnrepo) in this example we’ll create folder called test.</li>
<li>Create a temporary drive locally containing 3 folders; trunk, branches, tags</li>
<li>Right click on the parent folder and got to TortoiseSVN &gt; Import</li>
<li>In the URL box at the top enter the path to the repository, i.e. svn://&lt;server&gt;/test</li>
<li>This will import the 3 folders into the chosen repository.</li>
</ol>
<h2>Adding a Project to a repository</h2>
<p>If you already have some files for a project that you have started that you wish to import into your new repository, please follow these steps.</p>
<ol>
<li>Browse to the parent folder of the files you wish to install.</li>
<li>Right click this folder and choose TortoiseSVN &gt; Import.</li>
<li>This time we want to import the file into the main trunk, so the path to the repository will be svn://&lt;server&gt;/test/trunk</li>
</ol>
<h2>Checking out the repository.</h2>
<p>Now we have the project imported into SVN we need to check out a local copy to work on.</p>
<ol>
<li>Browse to the parent directory of where you want to checkout the project to.</li>
<li>Right click and choose SVN Checkout</li>
<li>This will bring up the Checkout window. Enter the URL of the Repository in the top box (remember we want to checkout the trunk so this needs to go at the end). The checkout directory will default to the directory we clicked in 2, add the name of the subdirectory you wish to check the files out to at the end.</li>
<li>Click OK, if the directory you specified does not exist you will be prompted to create the directory, do so.</li>
<li>All the files will be checked out into the folder you specified. There will also be hidden folders beginning with .svn created in the directories, DO NOT delete these as they are used by Subversion. You can now work on your local copy.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://moopoo.net/technology/subversion-server-installation-%e2%80%93-win-32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
