<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Community Server</title>
        <link>http://geekswithblogs.net/TimH/category/4744.aspx</link>
        <description>Community Server</description>
        <language>en-NZ</language>
        <copyright>Tim Huffam</copyright>
        <managingEditor>timhuffam@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Installing Community Server 2 - web install on XP localhost with sqlexpress</title>
            <link>http://geekswithblogs.net/TimH/archive/2006/06/08/81141.aspx</link>
            <description>&lt;P&gt;I had to resort to using the web installer as the CS MSI installer didn't work (threw error stating it could not find MDAC 2.7 or above - even though I'm running XP Pro SP2 which has the MDAC components built into it - duh!).&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Download CS 2 web install &amp;amp; unzip. 
&lt;LI&gt;Edit Installer\default.aspx - modify the line:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool INSTALLER_ENABLED = false;&lt;BR&gt;so the installer is enabled eg:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool INSTALLER_ENABLED = true; 
&lt;LI&gt;Using IIS admin, create virtual dir (eg 'cs') pointing to the 'web' dir beneath the installation. 
&lt;LI&gt;Created a db on sqlexpress.&amp;nbsp; 
&lt;LI&gt;Create an account (sql authentication) on the sqlexpress server that ASPNET can use and give it access to the db you just created.&lt;BR&gt;Either use &lt;A href="http://msdn.microsoft.com/vstudio/express/sql/download/"&gt;SQL Server Management Studio Express&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="http://www.aquafold.com/"&gt;Aqua Data Studio&lt;/A&gt;.&amp;nbsp; Note you may need to enable SQL Authentication.&amp;nbsp; This can be done via the latest version of SQL Server Management Studio Express. 
&lt;LI&gt;Run the&amp;nbsp;CS installer from a browser eg: &lt;A href="http://localhost/cs/installer"&gt;http://localhost/cs/installer&lt;/A&gt; 
&lt;LI&gt;When prompted,&amp;nbsp;specify the db login details:&lt;BR&gt;ServerName: localhost\sqlexpress&lt;BR&gt;Select Sql Server Authentication&lt;BR&gt;Enter the details for the login you just created. 
&lt;LI&gt;Follow the rest of the instructions on screen (it's all very straight forward). 
&lt;LI&gt;When complete update Installer\default.aspx again so that the installer is disabled eg:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool INSTALLER_ENABLED = false;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Now you &lt;EM&gt;should&lt;/EM&gt; be ready to use it, however...&lt;/P&gt;
&lt;P&gt;When the installer completed I clicked on the link to the start the app (in my case: &lt;A href="http://localhost/cs"&gt;http://localhost/cs&lt;/A&gt;) - this caused the following error:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;An error has occurred while establishing a connection to the server. &amp;nbsp;When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;This was very strange - because during the installation it was connecting to the db just fine.&amp;nbsp; Also,&amp;nbsp;the db server was working fine (for both pipes and TCP - both enbled and working for other apps).&amp;nbsp;&amp;nbsp; I suspect the installation process does something to the context of the current web request.&amp;nbsp; So to work around this I simply opened the url from another browser instance - and bingo&amp;nbsp;it worked.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=81141"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=81141" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/TimH/aggbug/81141.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tim Huffam</dc:creator>
            <guid>http://geekswithblogs.net/TimH/archive/2006/06/08/81141.aspx</guid>
            <pubDate>Wed, 07 Jun 2006 19:24:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/TimH/comments/81141.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/TimH/archive/2006/06/08/81141.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/TimH/comments/commentRss/81141.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/TimH/services/trackbacks/81141.aspx</trackback:ping>
        </item>
    </channel>
</rss>