<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'ASP.NET' and 'SQL Server'</title><link>http://bloggingabout.net/search/SearchResults.aspx?a=1&amp;o=DateDescending&amp;tag=ASP.NET,SQL+Server&amp;orTags=0</link><description>Search results matching tags 'ASP.NET' and 'SQL Server'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Getting started with the SubSonic Starter Site on Ms SQL Server 2000 </title><link>http://bloggingabout.net/blogs/mischa/archive/2007/05/22/getting-started-with-the-subsonic-starter-site-on-ms-sql-server-2000.aspx</link><pubDate>Tue, 22 May 2007 13:16:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:212965</guid><dc:creator>Mischa Kroon</dc:creator><description>&lt;P&gt;First a pre requisite:&lt;BR&gt;You need to have asp.net Ajax installed. &lt;BR&gt;Get it at:&lt;BR&gt;&lt;A href="http://ajax.asp.net"&gt;http://ajax.asp.net&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then we need to set up the database, there are some scripts included with the startersite. &lt;/P&gt;
&lt;P&gt;These are located in:&lt;BR&gt;SubSonicStarter\App_Data\Scripts&lt;/P&gt;
&lt;P&gt;To be able to execute these scripts you will need to create a database. &lt;BR&gt;This can be done through Enterprise Manager or through other sql server management tools. &lt;/P&gt;
&lt;P&gt;The StarterSite is set up to use 2 different databases 1 for membership and 1 for the StarterSite Data itself. &lt;BR&gt;Personally I would use only one database, but if you want to make 2 seperate databases that will work ok as well. &lt;/P&gt;
&lt;P&gt;The original scripts of the starterkit have 2 main problems:&lt;BR&gt;1 - The subsonic script doesn't support SQL Server 2000&lt;BR&gt;2 - They don't contain the sample data. &lt;/P&gt;
&lt;P&gt;To resolve these issues I have created 2 files to resolve the problem. &lt;/P&gt;
&lt;P&gt;From the SubSonicStarter\App_Data\Scripts directory execute the:&lt;BR&gt;Membership.sql&lt;/P&gt;
&lt;P&gt;This is to setup the membership part. &lt;BR&gt;After that run:&lt;BR&gt;&lt;A href="http://fnmstudios.net/blog/code/Subsonicv2/SubsonicStarterKit%20v2.01%20SQL%202000%20Membership%20Content%20Script.txt"&gt;http://fnmstudios.net/blog/code/Subsonicv2/SubsonicStarterKit%20v2.01%20SQL%202000%20Membership%20Content%20Script.txt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To add the roles + users used by the StarterSite. &lt;/P&gt;
&lt;P&gt;After that set up the StarterSite itself by running:&lt;BR&gt;&lt;A href="http://fnmstudios.net/blog/code/Subsonicv2/SubSonicStarterKit%20v2.01%20SQL%202000%20Script.txt"&gt;http://fnmstudios.net/blog/code/Subsonicv2/SubSonicStarterKit%20v2.01%20SQL%202000%20Script.txt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Last but not least, Edit the web.config file connectionstrings setting to be something like this:&lt;BR&gt;&amp;lt;connectionStrings&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;clear/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;add name="CMS" connectionString="Data Source=(local);Initial Catalog=SS_StarterSite;Integrated Security=SSPI;" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;add name="LocalSqlServer" connectionString="Data Source=(local);Initial Catalog=SS_StarterSite;Integrated Security=SSPI;" /&amp;gt;&lt;BR&gt;&amp;lt;/connectionStrings&amp;gt;&lt;/P&gt;
&lt;P&gt;Where SS_StarterSite can be replaced with your chosen Database Name :)&lt;/P&gt;
&lt;P&gt;I hope that this will get you started with the SubSonic StarterSite on Ms SQL Server 2000. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>