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> (remove name="LocalSqlServer" /> (add name="LocalSqlServer" connectionString="Data Source=localhost;initial
catalog = Personal;integrated security=true " providerName="System.Data.SqlClient" /> (add name="PersonalConnectionString" connectionString="Data Source=LIGHT\LIGHTNING;Initial Catalog=Personal;Integrated Security=True" providerName="System.Data.SqlClient"
/> (/connectionStrings> 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("Personal").ConnectionString) Line 194: Using command As New SqlCommand("GetNonEmptyAlbums", 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
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.
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 "preview in browser" on default.aspx
LIGHTNINGlp
0 Points
8 Posts
PWSK issues
Feb 04, 2009 01:04 PM|LINK
.NET 2.0 web.config
aabruzzese
Contributor
2806 Points
759 Posts
Re: PWSK issues
Feb 04, 2009 03:36 PM|LINK
And your question is?
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.
Best of luck to you
LIGHTNINGlp
0 Points
8 Posts
Re: PWSK issues
Feb 04, 2009 04:07 PM|LINK
aabruzzese
Contributor
2806 Points
759 Posts
Re: PWSK issues
Feb 04, 2009 06:20 PM|LINK
Are you hosting the site or do you have it running on your machine at home?
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
LIGHTNINGlp
0 Points
8 Posts
Re: PWSK issues
Feb 04, 2009 06:41 PM|LINK
aabruzzese
Contributor
2806 Points
759 Posts
Re: PWSK issues
Feb 04, 2009 06:43 PM|LINK
did you follow some of the preliminary steps like running aspregnet and running the CTL F5 from the VS menu ?
There was a girl on this kit that had a great site with step by step how to instructions...
Let me see if I can find her site and I will post it here for you.
Edit: .
Here is the site I mentioned earlier in the post:
http://www.edream.org/BlogArticle.aspx?RecordID=115
LIGHTNINGlp
0 Points
8 Posts
Re: PWSK issues
Feb 04, 2009 06:55 PM|LINK
LIGHTNINGlp
0 Points
8 Posts
Re: PWSK issues
Feb 10, 2009 01:40 PM|LINK
aabruzzese
Contributor
2806 Points
759 Posts
Re: PWSK issues
Feb 10, 2009 01:55 PM|LINK
Congrats, now you can contribute too... try to extend the extended kit.
:)