Atlanta .NET Regular Guys

Atlanta's .NET Regular Guys work to bring Atlanta's .NET development community closer together.

Contact us by sending mail to either Brendon or Matt

By the Community, For the Community - Club Starter Kit Extended


08-13-2006

Downloads: 89,839
File size: 102.7kB
Views: 89,840
By the Community, For the Community - Club Starter Kit Extended

****UPDATED**** The files and source have been put on codeplex to allow for more imporvements and better discussions. 

This is the first draft of the code for Extending the club starter kit.  Feel free to download it and send me bug or feed back. 

Third Sample: Extended Club Site Starter Kit

An extended version of the club site starter kit that includes a Role Management page, WebParts, Page management, and Themes.

http://www.asp.net/default.aspx?tabindex=6&tabid=50

The Microsoft starter kits are designed to give a starting point and examples on how to use technologies.  The Club Starter kit is a sample that can be used to provide a simple user group site with built in functionality.  One of the great advantages of the starter kits is that you can extend their funcationality.  To demonstrate more of the new features and an example of how to extend the starter kit, we will create more funcationality with the Club Starter Kit.  Many user groups want a way to manage the roles of the users through the User Interface.  To provide for this a role management page has been created to add users, delete users, or move users to roles in the site.  In addition to being able to manage the users in roles, you can also create new or delete roles for the entire site.  Not every site wants to have their information in the same location.  The extended club starter kit has the ability for end users to move data to the location they want on the home page using ASP.NET 2.0 Profiles and ASP.NET 2.0 Web Parts.  To help manage the pages that are in the site, a management page has been created to update the sitemap file to change the location of a page.  Each site might want a different look and feel.  The club starter kit has been extended to allow the user to change the ASP.NET 2.0 Theme that is used.  This can allow the end user to change the look and feel of the site quickly by just adding a new ASP.NET 2.0 Theme.  The extended Club Starter Kit includes 3 themes as examples of a different look and feel.  The themes that are provided with the kit are the default Club Starter Kit called Club, a user group theme called DevCow, and a Event site called CodeCamp.  This funcationality could be extended as well as extending the core funcationality of the Club Starter Kit.

Comments

Sqlm002 wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-21-2006 11:13 AM
I am keep getting error with "Server Error in '/ClubSite' Application. -------------------------------------------------------------------------------- Cannot create file 'C:\AppDev\ClubSite\ClubSite\App_Data\Club_log.LDF' because it already exists. Change the file path or the file name, and retry the operation. Could not open new database 'ClubDB'. CREATE DATABASE is aborted. Could not attach file 'C:\AppDev\ClubSite\ClubSite\App_Data\Club.mdf' as database 'ClubDB'. File activation failure. The physical file name "C:\work\ClubSite\App_Data\Club_log.LDF" may be incorrect. "
niconx wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-22-2006 8:38 PM
I keep getting the same error message.
Ralph wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-22-2006 9:34 PM
Just delete Club_log.LDF and it should work.
Say wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-25-2006 8:40 AM
What is the Admin's login info? 'Admin / 1.admin.1' is not available.
Casey wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-26-2006 11:08 PM
Try using 'admin123!'
ivaza wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-29-2006 1:49 AM
I've just downloaded. Not having too much time I checked just some new features. They work excelent. Good job. Thank you so much.
maxx wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 10-02-2006 3:47 PM
do you know where i can find server requirements for this to work adn possably "how to" pages on server configuration to work on this starter kit
tj wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 10-04-2006 1:10 AM
awesome! up & running w/ no big issues. only item u need to fix is deleting the log file. thank you.
Michael wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 10-10-2006 7:11 PM
Does anyone know how to make this work with MS Access instead?
romeo wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 10-15-2006 3:27 AM
Cool ce starterkit!!! j'aimerais aussi savoir si on pourrait l'adapter a MS ACCESS
Panuwat wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 10-19-2006 1:42 AM
Cool!!!
Will wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 11-10-2006 8:55 AM
Few little issues I have noticed - the "admin" hyperlink doesn't actually lead anywhere and when updating users roles all users become shown... Also not particularily helpful for us VB people. Least it provides us with one fix to an annoying problem
Beobe wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 11-22-2006 5:37 PM
Just downloaded and admin123 isn't working, got a new password?
RS wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 11-29-2006 8:27 AM
admin123! doesn't seem to work any longer on the 'Try It Live' website. Has it changed?
wma wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 12-06-2006 4:52 PM
I think it would be interesting to request a project at CodePlex and put the source up so everyone could benefit from some of the fixes and enhancements done by the community
Uti wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 12-10-2006 3:56 PM
Do i need to have sql server running on my computer for this application to work i get a msg establishing connection to server and sql network interfaces, error 26-error locating server /instance specified.
Brendon wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 12-27-2006 11:31 AM
Yes you do need sql server or sql express
Victor wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 12-27-2006 2:46 PM
I'm unable to download the file. I get the error message: Could not allocate space for object 'files_Downloads' in database 'DB_126551' because the 'PRIMARY' filegroup is full. If someone could email me the project at victorf623@yahoo.com I would be very grateful.
Coomart wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-05-2007 6:25 AM
Exception Details: System.Data.SqlClient.SqlException: Could not open new database 'ClubDB'. CREATE DATABASE is aborted. Could not attach file 'D:\Sanal-Dosyalar\ExtClubSite\App_Data\Club.mdf' as database 'ClubDB'. File activation failure. The physical file name "D:\Sanal-Dosyalar\ExtClubSite\App_Data\Club_log.ldf" may be incorrect. The log cannot be rebuilt when the primary file is read-only. I have thıs error. plz help me! I have deleted that ldf fıle. but anyway
Ishkatar wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-06-2007 6:52 AM
What do I need to set up to use SQL Server instead of SQLExpress? Thanks!!!
Daniel wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-11-2007 12:38 AM
God job, but Does anyone know how to make this work with MS Access instead?
Sandra wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-11-2007 12:43 AM
We all have MS ACCESS...
Fernando wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-11-2007 10:37 PM
Is there an option to MS-Access as the database instead of MS-SQL or MySQL? If so, please let me know how to convert the site and database to MS-Access. Thanks (dafepi2004@yahoo.es)
Tom wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-23-2007 9:53 AM
Will there be a VB version available? If so, when?
JT wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 01-24-2007 7:30 PM
I CAN NOT login as admin. I have tried admin and admin123! I have tried admin and 1.admin.1 and it still DOES NOT work. Any help is appreciated
Mark wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 02-08-2007 12:25 PM
I know I am being lazy but do you know where I can download the code for your second example Extending the Club Web Site Starter Kit Having great fun with the standard edition
Alan L. wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 02-12-2007 7:00 PM
After moving the Club Site Extended application from my local box (where it runs fine) to a hosted server, I'm getting the following error: Server Error in '/WeWatch' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Dan K wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 02-21-2007 6:47 AM
Alan- Same here... it's clear what the problem, but not knowing c# i and a ton of system.web.sec provider code i gave up, but its a cool revision if you or whomever get to it, i'm interested... Also, i'm curious why you added more SQL for the css and settings.. is this supposed to be for some multi-club hive lateron? -dan / afroweekly@gmail.com philly, penn.
" " wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 02-21-2007 8:05 AM
Alan- setting xhtmlConformance to default should fix it - didnt read the wholle help file to se why they put it in in the first place, but that error got provider info from the default machine config which is the conformance policy sets,.. i think....
Jeff wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-05-2007 12:05 PM
I am having the same login problem as others using admin admin123! . Can anyone help?
Hanz wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-13-2007 2:19 AM
I get "Error 602 : could not find row in sysindexes for databases id 12, object id 1, index id 1. run DBCC CHECKTABLE on sysindexes" when i try to attach the databases
pet wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-13-2007 2:47 AM
can i use sql server to host the database if can where to get the sql script to create the table ?
MarValUs wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-17-2007 8:59 AM
I've got the ClubSite up and running at http://DisciplesOnDirt.com I've still got one or two small kinks to work out but most of it is great (I modified the Beta 1 version from CodePlex).
Yabood wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-19-2007 1:16 AM
how can I add this ClubSite to .Net ? should I just create a new website and add the files to it or there is some other way to do it ? please heeeeelp
Brendon Schwartz wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-21-2007 4:13 AM
A version of the club kit is now up on codeplex http://www.codeplex.com/ClubStarterKit that will probably provide more support.
Giacomo Lavermicocca wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-25-2007 4:44 PM
Database 'C:\Documents and Settings\Giacomo Lavermicocca\Desktop\Raccolta STARTER KIT vsi VARI\ClubSite\App_Data\Club.mdf' already exists. Where is the problem? If i move the directory to another plaice Visual2005 said error...Where i can set the position of DataBase? i Check in Web.config not goot yet.
Tran Ngoc Van wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 03-27-2007 7:47 PM
Great job!
Matt B wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 04-04-2007 2:54 PM
How are you guys getting the source files into a project?
PT wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 04-05-2007 8:48 PM
The admin page is missing some stuff. Where is the Button2 click events for the admin page? Also, the docs page has some eval statements for the categoryID and Category name, For some reason it doesnt work, says something about a invalid character... any hints?
PT wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 04-05-2007 9:26 PM
Whoa! I just checked out the codeplex site. Plenty of info. Thanks.
Matt B wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 04-09-2007 3:53 PM
I tried deleting the log file and I still get the following error: Could not open new database 'ClubDB'. CREATE DATABASE is aborted. Could not attach file 'C:\Src\MindYourSafety\App_Data\Club.mdf' as database 'ClubDB'. File activation failure. The physical file name "C:\work\ClubSite\App_Data\Club_log.LDF" may be incorrect. The log cannot be rebuilt when the primary file is read-only. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Could not open new database 'ClubDB'. CREATE DATABASE is aborted. Could not attach file 'C:\Src\MindYourSafety\App_Data\Club.mdf' as database 'ClubDB'. File activation failure. The physical file name "C:\work\ClubSite\App_Data\Club_log.LDF" may be incorrect. The log cannot be rebuilt when the primary file is read-only. I'm using SQLServer Express. Is that a problem? Thanks.
Matt B wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 04-09-2007 4:23 PM
Sorry - disregard that last post. The error I get initially is failed to login as ComputerName\ASPNET. I tried all of the things other forums suggest and nothing works. I've assigned all the SQL roles to the ASP.NET user and tried just about every other thing. Any ideas? Thanks.
pierre wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 04-13-2007 8:47 AM
Server Error in '/' Application. -------------------------------------------------------------------------------- Could not allocate space for object 'files_Downloads' in database 'DB_126551' because the 'PRIMARY' filegroup is full.
MacLeman wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 05-31-2007 10:07 PM
Live example not working
Ghostface wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 06-01-2007 12:47 PM
Anyone convert this to VB.NET???
Seven wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 06-05-2007 7:00 PM
Yes I am trying to run this but keep getting this error this.Adapter.SelectCommand = this.CommandCollection[0]; Line 2001: DataSet.SiteSettingsDataTable dataTable = new DataSet.SiteSettingsDataTable(); Line 2002: this.Adapter.Fill(dataTable); Line 2003: return dataTable; what should i do
seven wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 06-05-2007 7:04 PM
also this errorvoid Application_Start(object sender, EventArgs e) { Line 6: if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators"); Line 7: } Line 8:
mcnewsxp wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 06-13-2007 10:03 AM
how do i get it in English?
Moondust wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 07-02-2007 4:30 PM
The extended Club Site starter kit "try it now" takes to a page that has an application error. The regular club site starter kit log in ID and password do not work.
as wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 08-01-2007 7:26 AM
asdfasdfasdf
Fanatically Insane wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-08-2007 12:45 AM
what the hell is the login info?!
Barry wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-17-2007 2:30 AM
I cant seem to log in as administrator. Both the username and password is not working. If you mind, can you please post the correct username and password. Thx.
Ed wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-18-2007 10:17 PM
I am unable to log in as administrator, can you give me the user ID and Password?
Exploding wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-19-2007 4:14 PM
how come there are more downloads than views?
Jerry Dean wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-20-2007 6:42 AM
I receive application error when trying to see it live.
Danny wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-21-2007 10:03 PM
How to run this website? I can't make the connection and can't connect to the database. Do I need to create a database in SQL express and after that, any modification of the code or setting?
Jenny wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-21-2007 10:43 PM
System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Source error if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators"); How to solve this issue? I need help..Do i need to create manually database in SQL Express? or any setting?
bernieh wrote Re: By the Community, For the Community - Club Starter Kit Extended
on 09-23-2007 7:50 AM