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

Welcome to Atlanta .NET Regular Guys Sign in | Join | Help

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

File Details
Downloads: 38456 File Size: 3.8MB
Posted By: Brendon Schwartz Views: 62040
Date Added: Sun, Aug 13 2006

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 said:

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. "
Thu, Sep 21 2006 11:13 AM
 

niconx said:

I keep getting the same error message.
Fri, Sep 22 2006 8:38 PM
 

Ralph said:

Just delete Club_log.LDF and it should work.
Fri, Sep 22 2006 9:34 PM
 

Say said:

What is the Admin's login info? 'Admin / 1.admin.1' is not available.
Mon, Sep 25 2006 8:40 AM
 

Casey said:

Try using 'admin123!'
Tue, Sep 26 2006 11:08 PM
 

ivaza said:

I've just downloaded. Not having too much time I checked just some new features. They work excelent. Good job. Thank you so much.
Fri, Sep 29 2006 1:49 AM
 

maxx said:

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
Mon, Oct 02 2006 3:47 PM
 

tj said:

awesome! up & running w/ no big issues. only item u need to fix is deleting the log file. thank you.
Wed, Oct 04 2006 1:10 AM
 

Michael said:

Does anyone know how to make this work with MS Access instead?
Tue, Oct 10 2006 7:11 PM
 

romeo said:

Cool ce starterkit!!! j'aimerais aussi savoir si on pourrait l'adapter a MS ACCESS
Sun, Oct 15 2006 3:27 AM
 

Panuwat said:

Cool!!!
Thu, Oct 19 2006 1:42 AM
 

Will said:

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
Fri, Nov 10 2006 8:55 AM
 

Beobe said:

Just downloaded and admin123 isn't working, got a new password?
Wed, Nov 22 2006 5:37 PM
 

RS said:

admin123! doesn't seem to work any longer on the 'Try It Live' website. Has it changed?
Wed, Nov 29 2006 8:27 AM
 

wma said:

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
Wed, Dec 06 2006 4:52 PM
 

Uti said:

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.
Sun, Dec 10 2006 3:56 PM
 

Brendon said:

Yes you do need sql server or sql express
Wed, Dec 27 2006 11:31 AM
 

Victor said:

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.
Wed, Dec 27 2006 2:46 PM
 

Coomart said:

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
Fri, Jan 05 2007 6:25 AM
 

Ishkatar said:

What do I need to set up to use SQL Server instead of SQLExpress? Thanks!!!
Sat, Jan 06 2007 6:52 AM
 

Daniel said:

God job, but Does anyone know how to make this work with MS Access instead?
Thu, Jan 11 2007 12:38 AM
 

Sandra said:

We all have MS ACCESS...
Thu, Jan 11 2007 12:43 AM
 

Fernando said:

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)
Thu, Jan 11 2007 10:37 PM
 

Tom said:

Will there be a VB version available? If so, when?
Tue, Jan 23 2007 9:53 AM
 

JT said:

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
Wed, Jan 24 2007 7:30 PM
 

Mark said:

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
Thu, Feb 08 2007 12:25 PM
 

Alan L. said:

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.
Mon, Feb 12 2007 7:00 PM
 

Dan K said:

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.
Wed, Feb 21 2007 6:47 AM
 

" " said:

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....
Wed, Feb 21 2007 8:05 AM
 

Jeff said:

I am having the same login problem as others using admin admin123! . Can anyone help?
Mon, Mar 05 2007 12:05 PM
 

Hanz said:

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
Tue, Mar 13 2007 2:19 AM
 

pet said:

can i use sql server to host the database if can where to get the sql script to create the table ?
Tue, Mar 13 2007 2:47 AM
 

MarValUs said:

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).
Sat, Mar 17 2007 8:59 AM
 

Yabood said:

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
Mon, Mar 19 2007 1:16 AM
 

Brendon Schwartz said:

A version of the club kit is now up on codeplex http://www.codeplex.com/ClubStarterKit that will probably provide more support.
Wed, Mar 21 2007 4:13 AM
 

Giacomo Lavermicocca said:

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.
Sun, Mar 25 2007 4:44 PM
 

Tran Ngoc Van said:

Great job!
Tue, Mar 27 2007 7:47 PM
 

Matt B said:

How are you guys getting the source files into a project?
Wed, Apr 04 2007 2:54 PM
 

PT said:

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?
Thu, Apr 05 2007 8:48 PM
 

PT said:

Whoa! I just checked out the codeplex site. Plenty of info. Thanks.
Thu, Apr 05 2007 9:26 PM
 

Matt B said:

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.
Mon, Apr 09 2007 3:53 PM
 

Matt B said:

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.
Mon, Apr 09 2007 4:23 PM
 

pierre said:

Server Error in '/' Application. -------------------------------------------------------------------------------- Could not allocate space for object 'files_Downloads' in database 'DB_126551' because the 'PRIMARY' filegroup is full.
Fri, Apr 13 2007 8:47 AM
 

MacLeman said:

Live example not working
Thu, May 31 2007 10:07 PM
 

Ghostface said:

Anyone convert this to VB.NET???
Fri, Jun 01 2007 12:47 PM
 

Seven said:

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
Tue, Jun 05 2007 7:00 PM
 

seven said:

also this errorvoid Application_Start(object sender, EventArgs e) { Line 6: if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators"); Line 7: } Line 8:
Tue, Jun 05 2007 7:04 PM
 

mcnewsxp said:

how do i get it in English?
Wed, Jun 13 2007 10:03 AM
 

Moondust said:

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.
Mon, Jul 02 2007 4:30 PM
 

as said:

asdfasdfasdf
Wed, Aug 01 2007 7:26 AM
 

Fanatically Insane said:

what the hell is the login info?!
Sat, Sep 08 2007 12:45 AM
 

Barry said:

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.
Mon, Sep 17 2007 2:30 AM
 

Ed said:

I am unable to log in as administrator, can you give me the user ID and Password?
Tue, Sep 18 2007 10:17 PM
 

Exploding said:

how come there are more downloads than views?
Wed, Sep 19 2007 4:14 PM
 

Jerry Dean said:

I receive application error when trying to see it live.
Thu, Sep 20 2007 6:42 AM
 

Danny said:

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?
Fri, Sep 21 2007 10:03 PM
 

Jenny said:

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?
Fri, Sep 21 2007 10:43 PM
 

bernieh said:

I tried downloading to VB05. Not working for me. Please advise on steps to download for view...
Sun, Sep 23 2007 7:50 AM
 

atarikg said:

thanks it is a cool sharing thanks again....
Wed, Sep 26 2007 2:32 AM
 

Stephen said:

I believe a lot of questions posted here can be answered in the Welcome.htm file located in the project. I'll do my best to answer some others.
Tue, Oct 02 2007 7:23 AM
 

Stephen said:

I too, would like to see this in VB.NET. I'm working on that myself, so if I get it completed before someone else does, I'll send a message. RE: the admin login. Just run the ASP.NET Configuration within studio and create your own admin login to get you started.
Tue, Oct 02 2007 7:27 AM
 

Medes said:

I have down loaded the application, and use SQL Server 2000. it works but it has so uggly layout and no style or theme works nothging.
Tue, Oct 02 2007 1:53 PM
 

Daniel said:

I'm trying to download the app, but I get the following error message. We are currently unable to serve your request We apologize, but an error occurred and your request could not be completed. This error has been logged. If you have additional information that you believe may have caused this error please report the problem here.
Wed, Oct 03 2007 3:32 PM
 

Alex said:

I have the same error. Please help.
Sun, Oct 07 2007 7:58 AM
 

Craig said:

I'm also getting the error trying to download the file. Looks like it's been a problem for almost two weeks now.
Mon, Oct 15 2007 10:14 AM
 

Jonas said:

I can't download this file, I get this message from server: We are currently unable to serve your request When this file will be availbale
Fri, Oct 19 2007 2:43 AM
 

behnam said:

hi.iam behnam
Fri, Nov 09 2007 2:51 AM
 

Behnam said:

H I can make connection between a Textbox and My sql Data base ?
Fri, Nov 09 2007 2:59 AM
 

JB said:

I’m trying to run the web site as per the instructions on the Welcome page but I’m receiving the following error message. I have run the sp_configure stored procedure but I’m still getting the error. I’m using SQL 2005 Express Edition. Server Error in '/ClubSite' Application Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances. Line 4: Line 5: void Application_Start(object sender, EventArgs e) { Line 6: if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators"); Line 7: } Line 8:
Fri, Nov 09 2007 3:10 PM
 

Classpearl said:

Hi..Just downloaded this file but the login.aspx section is displaying "Error creating Control - content1 . Unknown server tag Club:RolloeverLink." ...How can i fix the problem. Its in all the pages... Thanks
Tue, Nov 20 2007 8:31 PM
 

Artem said:

Пошли все нахуй!!!
Wed, Nov 21 2007 4:06 AM
 

davids said:

When I try to view the default.aspx page in my browser, I get this message "An attempt to attach an auto-named database for file C:\Users\davids.MCJACK\Documents\Visual Studio 2008\Projects\sparx\App_Data\ClubDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share." Any ideas?
Sun, Dec 02 2007 7:47 PM
 

InnovSolu said:

I want to publish the Extended Club Web Application to a Shared SQL Server Site. I need to change the names of the SQL tables within the database with a prefix of pcc_albums instead of albums. My question is where do I go to change the names of the tables that the application is using? I know how to change the SQL Server database tables within SQL Server - I don't know where to change it in the application. I think is has to do in the Class area - specifically the "bin" folder "ClubStarterKit.Data.xml" - is that the place? Thank you innovsolu@hotmail.com
Tue, Dec 04 2007 8:07 AM
 

maurizio said:

ok
Tue, Dec 04 2007 9:05 AM

Add Comment

Add
Name
Web Site
Comment
Powered by Community Server, by Telligent Systems