PWSK issueshttp://forums.asp.net/t/1380123.aspx/1?PWSK+issuesTue, 10 Feb 2009 13:55:37 -050013801232915534http://forums.asp.net/p/1380123/2915534.aspx/1?PWSK+issuesPWSK issues I;ve been tinkering with this kit for a while now. I'm having trouble with it since i 1st installed it. I configured my web.config: (connectionStrings&gt; (remove name=&quot;LocalSqlServer&quot; /&gt; (add name=&quot;LocalSqlServer&quot; connectionString=&quot;Data Source=localhost;initial catalog = Personal;integrated security=true &quot; providerName=&quot;System.Data.SqlClient&quot; /&gt; (add name=&quot;PersonalConnectionString&quot; connectionString=&quot;Data Source=LIGHT\LIGHTNING;Initial Catalog=Personal;Integrated Security=True&quot; providerName=&quot;System.Data.SqlClient&quot; /&gt; (/connectionStrings&gt; and when i run Default.aspx, i get this: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 191: Line 192: Public Shared Function GetRandomAlbumID() As Integer Line 193: Using connection As New SqlConnection(ConfigurationManager.ConnectionStrings(&quot;Personal&quot;).ConnectionString) Line 194: Using command As New SqlCommand(&quot;GetNonEmptyAlbums&quot;, connection) Line 195: command.CommandType = CommandType.StoredProcedure Source File: C:\Users\LIGHTNING\Documents\Programming\PersonalWebSite2\App_Code\PhotoManager.vb Line: 193 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] PhotoManager.GetRandomAlbumID() in C:\Users\LIGHTNING\Documents\Programming\PersonalWebSite2\App_Code\PhotoManager.vb:193 PhotoManager.GetPhotos() in C:\Users\LIGHTNING\Documents\Programming\PersonalWebSite2\App_Code\PhotoManager.vb:93 2009-02-04T13:04:01-05:002916016http://forums.asp.net/p/1380123/2916016.aspx/1?Re+PWSK+issuesRe: PWSK issues <p>And your question is? </p> <p>Sorry that you are having issues with this kit, but there are so many threads that go over the issues people have had over the years, perhaps you can search the forums for questions that may have already answered the same issue as you are experiencing.</p> <p>&nbsp;Best of luck to you</p> 2009-02-04T15:36:52-05:002916099http://forums.asp.net/p/1380123/2916099.aspx/1?Re+PWSK+issuesRe: PWSK issues well the question is what am i doing wrong, based on the above errors:D 2009-02-04T16:07:57-05:002916440http://forums.asp.net/p/1380123/2916440.aspx/1?Re+PWSK+issuesRe: PWSK issues <p>&nbsp;</p> <p>Are you hosting the site or do you have it running on your machine at home?</p> <p>&nbsp;If you are running it on your home machine, which vs of Windows and do you have IIS running on it and also which version of SQL server</p> <p>&nbsp;</p> <p>&nbsp;</p> 2009-02-04T18:20:04-05:002916482http://forums.asp.net/p/1380123/2916482.aspx/1?Re+PWSK+issuesRe: PWSK issues thanks for repaying; im using iis7, yes im trying to run it on my home machinve (vista ultimate sp1) sql 2008 / ms visual studio 2008 This occured like this: I donwloaded the kit, changed the web.config and then &quot;preview in browser&quot; on default.aspx 2009-02-04T18:41:05-05:002916487http://forums.asp.net/p/1380123/2916487.aspx/1?Re+PWSK+issuesRe: PWSK issues <p>did you follow some of the preliminary steps like running aspregnet and running the CTL F5 from the VS menu ? </p> <p>There was&nbsp; a girl on this kit that had a great site with step by step how to instructions...</p> <p>&nbsp;Let me see if I can find her site and I will post it here for you.</p> <p>&nbsp;Edit: . </p> <p>&nbsp;Here is the site I mentioned earlier in the post:</p> <p><a href="http://www.edream.org/BlogArticle.aspx?RecordID=115">http://www.edream.org/BlogArticle.aspx?RecordID=115</a></p> <p>&nbsp;</p> 2009-02-04T18:43:19-05:002916511http://forums.asp.net/p/1380123/2916511.aspx/1?Re+PWSK+issuesRe: PWSK issues yes, i did run aspregnet, well ill take a look at that guide. Thanks a lot, will reply soon if it worked. 2009-02-04T18:55:52-05:002930773http://forums.asp.net/p/1380123/2930773.aspx/1?Re+PWSK+issuesRe: PWSK issues I downloaded http://www.jeremywadsworth.com/ 's kit and its all ok now:) 2009-02-10T13:40:27-05:002930805http://forums.asp.net/p/1380123/2930805.aspx/1?Re+PWSK+issuesRe: PWSK issues <p>Congrats, now you can contribute too... try to extend the extended kit. </p> <p>&nbsp;</p> <p>:)</p> <p>&nbsp;</p> 2009-02-10T13:55:37-05:00