<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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>Classifieds Starter Kit</title><link>http://forums.asp.net/1021.aspx</link><description>Discussions about and feedback on the Classifieds Starter Kit for ASP.NET 2.0.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1411099.aspx</link><pubDate>Wed, 27 Sep 2006 03:34:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1411099</guid><dc:creator>leon_lia</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1411099.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1411099</wfw:commentRss><description>Great, thanks very much&lt;br /&gt;&lt;br /&gt;with your suggestions, i could see &amp;quot;Classifieds Online&amp;quot; lah,&lt;br /&gt;&lt;br /&gt;With db SQL Server 2000&lt;br /&gt;&lt;br /&gt;step1. create db classifieds&lt;br /&gt;step2. execute script classifieds-add.sql&lt;br /&gt;step3. execute script classifieds-categories.sql&lt;br /&gt;step4. create db aspnet&lt;br /&gt;step5. execute aspnet_regsql point to db aspnet&lt;br /&gt;step6. modify Web.config file as below&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;classifiedsConnection&amp;quot; connectionString=&amp;quot;Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\classifiedsdb.mdf;Integrated Security=True;User Instance=True&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;--&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;classifiedsConnection&amp;quot; connectionString=&amp;quot;Data Source=localhost;Database=classifieds;User ID=sa;Password=sa;Trusted_Connection=False&amp;quot; providerName=&amp;quot;System.Data.SqlClient=&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;remove name=&amp;quot;LocalSqlServer&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;LocalSqlServer&amp;quot; connectionString=&amp;quot;Server=localhost;Database=aspnet;User ID=sa;Password=sa;Trusted_Connection=False&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&lt;br /&gt;That&amp;#39;s all, then run the site from Visual Studio, thx</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1348034.aspx</link><pubDate>Fri, 21 Jul 2006 15:15:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1348034</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1348034.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1348034</wfw:commentRss><description>There are many stored procedures there, to be sure, but the one it is complaining about is dbo.GetAdsByRandomOrder and it really is not there.&amp;nbsp;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1347351.aspx</link><pubDate>Thu, 20 Jul 2006 22:20:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1347351</guid><dc:creator>scokim</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1347351.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1347351</wfw:commentRss><description>You can consider Backing up the local db and then Restoring the .Bak file onto the server. The stored procedures will follow.&lt;br /&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1347317.aspx</link><pubDate>Thu, 20 Jul 2006 21:21:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1347317</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1347317.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1347317</wfw:commentRss><description>Things are definitely better today (on the 2005 box with the database local).&amp;nbsp; It is now only complaining about not finding stored procedures.&amp;nbsp; It is correct, they are not there.&amp;nbsp; I will search the forums for that one!</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1346261.aspx</link><pubDate>Wed, 19 Jul 2006 23:38:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1346261</guid><dc:creator>justin0501</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1346261.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1346261</wfw:commentRss><description>&lt;p&gt;Are you getting any specific error messages? Post the messages if you are.&lt;/p&gt;
&lt;p&gt;I'm not sure what else it could be. If SQL is configured correctly and the databases are setup the connection strings I posted should be correct as those are the ones that I use and they work fine for me&lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1346250.aspx</link><pubDate>Wed, 19 Jul 2006 23:17:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1346250</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1346250.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1346250</wfw:commentRss><description>Again, I sure appreciate your effort but there seems to be no way to connect to this database. I even added a copy on a 2000 Sequel install.&amp;nbsp; In all cases, I can create an ODBC connector that connects to the database successfully, either on the local machine or from a remote machine, but there I cannot get the program to admit it exists!&amp;nbsp; Talk about frustration!</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1344980.aspx</link><pubDate>Tue, 18 Jul 2006 22:14:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1344980</guid><dc:creator>justin0501</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1344980.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1344980</wfw:commentRss><description>&lt;p&gt;Now that could be a connection string issue. Try the following connection strings:&lt;/p&gt;
&lt;p&gt;&amp;lt;add name="classifiedsConnection" connectionString="Data Source=SERVER;Database=CLASSIFIEDSDB;User ID=USERID;Password=PASSWORD;Trusted_Connection=False" providerName="System.Data.SqlClient=" /&amp;gt;&lt;br /&gt;&amp;lt;remove name="LocalSqlServer"/&amp;gt;&lt;br /&gt;&amp;lt;add name="LocalSqlServer" connectionString="Server=SERVER;Database=ASPNETDB;User ID=USERID;Password=PASSWORD;Trusted_Connection=False" providerName="System.Data.SqlClient" /&amp;gt;&lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1344789.aspx</link><pubDate>Tue, 18 Jul 2006 19:24:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1344789</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1344789.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1344789</wfw:commentRss><description>&lt;p&gt;I now have the database installed and appearing to be happy but still cannot connect.&amp;nbsp; I have two physical servers so am trying on each of them to see whether I can get either to fly.&amp;nbsp; Both are IIS machines with ASP.NETv2.0.&amp;nbsp; The first is using MSDE with SQL 2000 client tools.&amp;nbsp; The second has a full install of MS Sql 2005.&amp;nbsp; At this point I am having the same problem on both:&amp;nbsp; error 26, error locating server/instance.&amp;nbsp; In the webconfig file, I used the full local path the database and the sa username and password.&lt;/p&gt;
&lt;p&gt;Your help is very much appreciated!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pat&lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1343773.aspx</link><pubDate>Mon, 17 Jul 2006 22:56:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1343773</guid><dc:creator>justin0501</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1343773.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1343773</wfw:commentRss><description>&lt;p&gt;So you do not even have any database created yet?? What version of SQL do you have installed?&lt;/p&gt;
&lt;p&gt;I dont think you should worry about the Connection String in the web.config until you actually get your databases created.&lt;/p&gt;
&lt;p&gt;There should be 2 sql scripts that you need to run:&lt;/p&gt;
&lt;p&gt;Classifieds-add and Classifieds-categories&lt;/p&gt;
&lt;p&gt;If you run the Classifieds-remove you are deleting your database, stored procs, views...etcc..&lt;/p&gt;
&lt;p&gt;So bascially create a new database is SQL Server, and then run those two scripts and then check to see if the tables, stored procs, views etc are there.&lt;/p&gt;
&lt;p&gt;After that you then need to create the aspnetdb by running the aspnet_regsql utility. You can create those tables and stored procs in the same database if you want to, but in any case no matter how you do it you have to run that aspnet_regsql utility.&lt;/p&gt;
&lt;p&gt;Then once you get your databases created, then you can worry about the connection string which is quite easy to modify to point to your database(s).&lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1343654.aspx</link><pubDate>Mon, 17 Jul 2006 20:12:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1343654</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1343654.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1343654</wfw:commentRss><description>&lt;p&gt;I am the host!&amp;nbsp; I have no idea what to do with this program though I desperately want to use it.&amp;nbsp; From the point of unzipping it there isn't a clue what to do.&amp;nbsp; I cannot get any of my MS database programs, not the desktop engine, not Sequel Server 2000, not Sequel Server 2005 to recognise the classifiedsdb.mdf as any sort of valid file.&amp;nbsp; I have run the three .sql files in the 2005 query analyzer.&amp;nbsp; They give no errors but neither do they do anything except indicate that they are finished running.&amp;nbsp; I am completely baffled by what the connection string should look like, the one that is in the web.config doesn't appear to be even close.&lt;/p&gt;
&lt;p&gt;So many people seem to be using this, I can't believe I am having so much trouble.&amp;nbsp; I use database connections from both ASP.NET and PHP all the time, but this one really has me buffaloed!&lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1343553.aspx</link><pubDate>Mon, 17 Jul 2006 18:41:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1343553</guid><dc:creator>justin0501</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1343553.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1343553</wfw:commentRss><description>&lt;p&gt;Did you create the Classifieds database by running the scripts?&lt;/p&gt;
&lt;p&gt;You also have to create the aspnet database by running the aspnet_reqsql utility. If you cannot you will need your host to create that for you.&lt;/p&gt;
&lt;p&gt;If you have those created are you getting any error message?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1343536.aspx</link><pubDate>Mon, 17 Jul 2006 18:26:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1343536</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1343536.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1343536</wfw:commentRss><description>&lt;p&gt;I absolutely cannot connect to the database.&amp;nbsp; Running the three stored procedures produces no errors but no tables either.&amp;nbsp; Is there any sort of setup instructions for this other than the index.html which really says nothing?&amp;nbsp; I cannot get to the default.aspx since my database contains no data.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Database Woes</title><link>http://forums.asp.net/thread/1341964.aspx</link><pubDate>Fri, 14 Jul 2006 22:48:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1341964</guid><dc:creator>justin0501</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1341964.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1341964</wfw:commentRss><description>Run the scripts in Query Analyzer</description></item><item><title>Database Woes</title><link>http://forums.asp.net/thread/1341821.aspx</link><pubDate>Fri, 14 Jul 2006 19:54:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1341821</guid><dc:creator>nwind</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1341821.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1021&amp;PostID=1341821</wfw:commentRss><description>&lt;p&gt;I am unable to get any version of MS SQL to accept the database.&amp;nbsp; I have tried the 2000 version, the 2005 version, the desktop engine and even tried Access.&amp;nbsp; I cannot attach the database without the .ldf file, which isn't there.&amp;nbsp; It will not import to SQL, Access or even Excel.&amp;nbsp; How are all of you people getting the database into a database server?&lt;/p&gt;
&lt;p&gt;Feeling dumb here!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>