<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>SQL Server</title>
        <link>http://geekswithblogs.net/colinbo/category/3663.aspx</link>
        <description>If Big Brother had to have a database you know it would be SQL Server.</description>
        <language>en-CA</language>
        <copyright>Colin Bowern</copyright>
        <managingEditor>colinbowern@hotmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Using a non-Express edition of SQL Server as your default ASP.NET database.</title>
            <link>http://geekswithblogs.net/colinbo/archive/2006/01/06/65146.aspx</link>
            <description>&lt;P&gt;I've always been puzzled as to why the Web Site Administration tool shipped with ASP.NET 2.0 didn't seem to function nor error out when I had a brand new application being developed on my workstation where SQL Server 2005 Developer Edition is installed.&lt;/P&gt;
&lt;P&gt;The ASP.NET 2.0 machine configuration has a pre-defined connection string for providers which is tied to the default SQL Server 2005 Express Edition configuration that ships with Visual Studio 2005. I never installed the Express edition because the projects I work on typically require the more advanced SQL Server feature set. As a result I use the Developer Edition for most of my work. To get the 'out-of-the-box' functionality of the Web Site Administration Tool I made a few changes to the machine.config. Here's an excerpt of what I use on my C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config:&lt;/P&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;style type="text/css"&gt;
.csharpcode
{
 font-size: xx-small;
 color: black;
 font-family: Courier New , Courier, Monospace;
 background-color: #ffffff;
 /*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
 background-color: #f4f4f4;
 width: 100%;
 margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&lt;pre class="csharpcode"&gt;
&lt;span class="kwrd"&gt;&lt;&lt;/span&gt;&lt;span class="html"&gt;connectionStrings&lt;/span&gt;&lt;span class="kwrd"&gt;&gt;&lt;/span&gt;
    &lt;span class="kwrd"&gt;&lt;&lt;/span&gt;&lt;span class="html"&gt;add&lt;/span&gt; &lt;span class="attr"&gt;name&lt;/span&gt;&lt;span class="kwrd"&gt;="LocalSqlServer"&lt;/span&gt; 
         &lt;span class="attr"&gt;connectionString&lt;/span&gt;&lt;span class="kwrd"&gt;="data source=.\SQL2005DEV;Initial Catalog=aspnetdb;Integrated Security=SSPI"&lt;/span&gt;
         &lt;span class="attr"&gt;providerName&lt;/span&gt;&lt;span class="kwrd"&gt;="System.Data.SqlClient"&lt;/span&gt; &lt;span class="kwrd"&gt;/&gt;&lt;/span&gt;
&lt;span class="kwrd"&gt;&lt;/&lt;/span&gt;&lt;span class="html"&gt;connectionStrings&lt;/span&gt;&lt;span class="kwrd"&gt;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=65146"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=65146" 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/colinbo/aggbug/65146.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Colin Bowern</dc:creator>
            <guid>http://geekswithblogs.net/colinbo/archive/2006/01/06/65146.aspx</guid>
            <pubDate>Sat, 07 Jan 2006 00:00:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/colinbo/comments/65146.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/colinbo/archive/2006/01/06/65146.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/colinbo/comments/commentRss/65146.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/colinbo/services/trackbacks/65146.aspx</trackback:ping>
        </item>
    </channel>
</rss>