in

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

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

Downloads: 77,333 File Size: 3.8MB
Posted By: Brendon Schwartz Views: 63,342
Date Added: 08-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. "
09-21-2006 11:13 AM
 

niconx said:

I keep getting the same error message.
09-22-2006 8:38 PM
 

Ralph said:

Just delete Club_log.LDF and it should work.
09-22-2006 9:34 PM
 

Say said:

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

Casey said:

Try using 'admin123!'
09-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.
09-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
10-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.
10-04-2006 1:10 AM
 

Michael said:

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

romeo said:

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

Panuwat said:

Cool!!!
10-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
11-10-2006 8:55 AM
 

Beobe said:

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

RS said:

admin123! doesn't seem to work any longer on the 'Try It Live' website. Has it changed?
11-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
12-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.
12-10-2006 3:56 PM
 

Brendon said:

Yes you do need sql server or sql express
12-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.
12-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
01-05-2007 6:25 AM
 

Ishkatar said:

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

Daniel said:

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

Sandra said:

We all have MS ACCESS...
01-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)
01-11-2007 10:37 PM
 

Tom said:

Will there be a VB version available? If so, when?
01-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
01-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
02-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.
02-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.
02-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....
02-21-2007 8:05 AM
 

Jeff said:

I am having the same login problem as others using admin admin123! . Can anyone help?
03-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
03-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 ?
03-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).
03-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
03-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.
03-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.
03-25-2007 4:44 PM
 

Tran Ngoc Van said:

Great job!
03-27-2007 7:47 PM
 

Matt B said:

How are you guys getting the source files into a project?
04-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?
04-05-2007 8:48 PM
 

PT said:

Whoa! I just checked out the codeplex site. Plenty of info. Thanks.
04-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.
04-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.
04-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.
04-13-2007 8:47 AM
 

MacLeman said:

Live example not working
05-31-2007 10:07 PM
 

Ghostface said:

Anyone convert this to VB.NET???
06-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
06-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:
06-05-2007 7:04 PM
 

mcnewsxp said:

how do i get it in English?
06-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.
07-02-2007 4:30 PM
 

as said:

asdfasdfasdf
08-01-2007 7:26 AM
 

Fanatically Insane said:

what the hell is the login info?!
09-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.
09-17-2007 2:30 AM
 

Ed said:

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

Exploding said:

how come there are more downloads than views?
09-19-2007 4:14 PM
 

Jerry Dean said:

I receive application error when trying to see it live.
09-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?
09-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?
09-21-2007 10:43 PM
 

bernieh said:

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

atarikg said:

thanks it is a cool sharing thanks again....
09-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.
10-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.
10-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.
10-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.
10-03-2007 3:32 PM
 

Alex said:

I have the same error. Please help.
10-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.
10-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
10-19-2007 2:43 AM
 

behnam said:

hi.iam behnam
11-09-2007 2:51 AM
 

Behnam said:

H I can make connection between a Textbox and My sql Data base ?
11-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:
11-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
11-20-2007 8:31 PM
 

Artem said:

Пошли все нахуй!!!
11-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?
12-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
12-04-2007 8:07 AM
 

maurizio said:

ok
12-04-2007 9:05 AM
 

Munish said:

i download this website and run it but getting SQL Server error - if !isrole.administrator
12-20-2007 9:41 AM
 

reuben said:

I copied the Extended Club Site to a remote server for hosting and getting a bunch of sql errors. What did I do wrong?
01-07-2008 10:44 PM
 

Mans said:

Hi .Can anybody help me with the english version of text used in the application..........Its Urgent.....
01-28-2008 1:43 AM
 

MOK said:

HI Has anyone resolved the Security Exception when shared hosted in medium trust hosting? I am hosting with Godaddy and I see al lot of posts but no solution yet. Thanks
02-14-2008 11:24 PM
 

Dave said:

Hi, I have got the standard one working and wanted to try the extended one but getting the following error. Anyone got any ideas please. Invalid object name 'SiteSettings'. 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: Invalid object name 'SiteSettings'. Source Error: Line 2186: this.Adapter.SelectCommand = this.CommandCollection[0]; Line 2187: DataSet.SiteSettingsDataTable dataTable = new DataSet.SiteSettingsDataTable(); Line 2188: this.Adapter.Fill(dataTable); Line 2189: return dataTable; Line 2190: }
07-08-2008 6:10 AM
 

Randy Glenn said:

Dave & Others... this version need some more work before it is published. There are missing tables in the scripts, and missing controls in the code. I've asked the authors to take another look, so hopefully they will be diligent. Randy Glenn, Software Architect, The University fo British Columbia, Vancouver, BC
07-10-2008 1:25 AM
 

cobbydaler said:

What does it mean ?? Unable to cast object of type 'System.DBNull' to type 'System.String'. Thanks !!!
07-16-2008 4:48 AM
 

meg said:

can anyone tell y iam getting this error Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>
08-15-2008 1:37 PM
 

hamma said:

how to load program
08-18-2008 6:51 AM
 

furgel said:

Well i just uploaded my starter kit via ftp to my host, but it keeps on pushing out this error...Server Error in '/' Application. The database does not appear to contain WebContent table, this is a feature of the extended ClubSite, please ensure you have run WebContent.SQL against the database. On my dev machine it works perfectly fine just once i load it to my host i get this error..please help guys...thanx
08-26-2008 3:58 AM
 

Tejas said:

pls tell any one tell me what is admin password?
10-01-2008 11:01 AM
 

batFINGER said:

Greetings Got this baby up and running and it's great. Having some troubles with avatar upload. Tejas, use the website configuration tool to add a user, and put that user into the administrators role.. Furgel, I built the asp.net membership database on my server. I used the sql that comes with the subsonic starter kit to make the db. Then make localsqlserver point to your online server as well. If your prob is the same as mine, it is that the sql server on your production server cannot attach the aspnetdb.mdf database. On the subject of subsonic, I might change the DAL to subsonic as this makes it easier to modify IMHO. Damn happy this version of club site is in C# because VB is a beer and not a ...
10-03-2008 11:22 AM

Add Comment

(required) 
(required)
(optional)
(required) 

Enter the numbers above:
Add

Sponsored by

The Atlanta Dot Net Regular Guys would like to thank
MaximumASP.NET
Powered by Community Server (Non-Commercial Edition), by Telligent Systems