<?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>Small Business Starter Kit</title><link>http://forums.asp.net/1092.aspx</link><description>Discussions about the Small Business Starter Kit for ASP.NET 2.0.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: SBSK and SQL database</title><link>http://forums.asp.net/thread/3455530.aspx</link><pubDate>Tue, 13 Oct 2009 10:19:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3455530</guid><dc:creator>Hyacinth Broadchest</dc:creator><author>Hyacinth Broadchest</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3455530.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1092&amp;PostID=3455530</wfw:commentRss><description>&lt;p&gt;I might be misunderstanding the question, but why isn&amp;#39;t this the answer?&lt;/p&gt;
&lt;p&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;&amp;lt;add name=&amp;quot;ConnectionString&amp;quot; connectionString=&amp;quot;Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>SBSK and SQL database</title><link>http://forums.asp.net/thread/3213154.aspx</link><pubDate>Fri, 05 Jun 2009 13:16:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3213154</guid><dc:creator>newbie495</dc:creator><author>newbie495</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3213154.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1092&amp;PostID=3213154</wfw:commentRss><description>I&amp;#39;m trying to point to my SQL database for app data.  I changed the newsProviderName=&amp;quot;sqlProvider&amp;quot;.  With that, I get the error message:  Object reference not set to an instance of an object.  In particular the source error reads:  
Line 22:         string connectionStringName = sec.NewsProviders[sec.NewsProviderName].Parameters[&amp;quot;connectionStringName&amp;quot;];
Line 23:         return WebConfigurationManager.ConnectionStrings[connectionStringName].ConnectionString;

By the way, I have successfully connected on test pages to the SQL database and VWD added the following connection string to the Web.Config file:  	
  
 

I have searched for weeks on how to add a connection string to the SQL database (along with table, username, password) to no avail.  Can anyone answer this or point me to a general area I might find the answer?  Any and ALL help would be most appreciated!!!</description></item></channel></rss>