Community Server 2007 - Writing Custom Modules - Chapter 13

I started last night working some demo modules out of the Professional Community Server book from Wrox written by Wyatt Preul, Keyvan Nayyeri, Jose Lema, and Jim Martin.  The book has been a good starting point and for the most part well written, I do however have a few points of contention.  While working through the first sample with a fellow techie, he being a network engineer and myself being a software architect we barreled through the sample easily.  The problem however that I must draw is that the sample is unable to be directly (or indirectly tested) because it only sends an e-mail out "if" an exception of CSException occurs.  At the end of the example, compiled, put into the bin, and the config set properly, one then has to force a CSException?  Maybe I missed that chapter, but it seems this is a relatively weak sample.  Great book, but that one sample just irks me.

Otherwise I must say thanks to all who put together the book!  It's been a great kick start!

To beat a dead horse and return to the problem point I have with that one example, when I get through developing a few other modules and am more familiar with exactly what I am doing, I will follow up with a module or two that provides the points I feel are missing.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Posted by: Adron
Posted on: 5/27/2007 at 12:30 PM
Categories: Community Server
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Community Server on Vista

For one of my main personal projects I've been using Community Server from Telligent Software.  It's a pretty awesome package of Web Applications.  Since I'm now using Vista - as current readers know now - there are a few work arounds to seting up IIS 7 and SQL Server 2005 so that Community Server will run.

I tried running the user.sql file on the SQL Server setup I have.  The SQL Server 2005 setup and IIS 7 setup are basically default, at least default for Vista.  For more on that read my last Vista Post.  I set the SQL Server Security settings to integrated security per the instructions but when runing the user.sql file there seems to be no ASPNET user now.

Since I knew that my point of deployment would be a straight copy of the database that I have local, I decided to give the cs_3.0_CreateFullDatabase.sql file a go round.  It ran flawlessly since my logged in user had dbo rights.  So unless you want everything 100% identical, I'd run this shortcut to get it setup locally for development.

Next per the default instructions I went ahead and created a default community.

exec dbo.cs_system_CreateCommunity 'localhost/cs', 'dev', 'admin@example.org', 'AdminUserName', 'AdminPassword', 0, 0

The command executed perfectly without flaw.  Now that the database was all setup proper for the website, I moved right along with installing the website.

For the website, setup was insanely simple.  I did however have to do one thing that was a sidestep from what is suggested.  Since Vista won't let me run apps properly that need windows, forms, or other authentications on the localhost instance of IIS I needed to run the Community Server via the virtual server.

Step one for setting up Community Server 7 for this particular scenario was to unzip the download.  Once unzipped then open the solution file.  The solution file will open the entire project (if you get any errors shoot me a comment) list.

Step Two is also almost as simple.  Right click on the "CommunityServerWeb20 (Internal)" project and click on the "Properties" option.  From there click on the "Web" tab on the left hand side of the "Properties" Screen.  Mid screen you will see a "Servers" section that has two radio button options.  The out of the box (zip) option is the "Use IIS Web Server" option, change it to "Use Visual Studio Development Server".

I haven't tried any of the other options, but this selection should get one up and running with Community Server 7.0.  Now, I'm off to figure out what I have to do next!

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Posted by: Adron
Posted on: 4/28/2007 at 9:32 PM
Categories: My Projects | Community Server
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed