Open source GraffitiCMS and IIS6

Color me stupid, but then again I was under some emotional pressure at the time. The open source version of GraffitiCMS has some changes in it compared to the final official commercial release. Well, duh, I suppose; and of course I'd mentioned some of them in my previous blog post on the subject.

There's another change, one that bit me good and proper. My old friend Scott Bussinger alerted me to it pretty much straight away, but I wasn't able to properly diagnose the issue without internet access (my parents, where I was staying, do not have broadband). It seemed that, although I could post new blog entries and they would show up on the front page of the blog, the actual page for the blog post was missing, causing a 404. I fixed it at the time manually, that is, by adding the required folder and default.aspx file in it. I left it until I got home to properly debug the situation; after all, I wasn't posting that much, being away.

It turns out that Telligent were working on a new feature in GraffitiCMS to take advantage of ASP.NET routing, something that's pretty much only available in IIS7. The hint came from this discussion on CodePlex when Scott Watermasysk stated that Graffiti's routing support is enabled by default, whether the Graffiti instance is running on IIS7 or not. (He also states that "Routing support [in GraffitiCMS] should be considered alpha quality code as [it has] not yet been tested outside of the developers who added [it].")

Since I run this blog on IIS6 on GoDaddy, the solution was to turn this routing support off. In the new Configuration page of the Site Options admin section, there's an option labeled "Generate Folders for Posts/Categories/Tags (Legacy)". This should be checked.

Configuration dialog

Once it is checked (and Graffiti restarted), publishing a blog post will create the folders and default.aspx files as before.

That same discussion I mentioned above seems to indicate that the routine support does have problems even in IIS7. I've got a test site on IIS7 that I'm playing around with so I'll be investigating in my spare time.

Album cover for CluesNow playing:
Palmer, Robert - Looking for Clues
(from Clues)



Posts on similar topics...

Share it: Digg It!  StumbleUpon  Reddit  Del.icio.us  NewsVine  Furl  BlinkList  Ma.gnolia  Technorati

No Responses

Feel free to add a comment...

Leave a Response

About Me

I'm Julian M Bucknall, the M because it's my middle initial and because I and the other Julian Bucknall (the movie guy) would like to differentiate ourselves.

I'm a programmer by trade, an actor by ambition, and an algorithms guy by osmosis. I write articles for PCPlus in my spare time, not that there's much of that.

Julian M Bucknall Apart from that, an ex-pat Brit, atheist, microbrew enthusiast, Pet Shop Boys fanboy, slide rule and HP calculator collector, amateur photographer, Altoids muncher.

DevExpress

I'm Chief Technology Officer at Developer Express, a software company that writes some great controls and tools for .NET and Delphi. I'm responsible for the technology oversight and vision of the company.

The OUT Campaign

The OUT Campaign

Validation

Valid XHTML 1.0 Transitional     Valid CSS!

Bottom swirl

Archives

July 2010 (3)
SMTWTFS
« Jun  
123
45678910
11121314151617
18192021222324
25262728293031

Like this Archive Calendar widget? Download it here.

Search

Google ads

My Tweets

  • Just about to sign away a heck of a lot of money for a new kitchen. Gotta do it today to get the discount...
  • @stephenpatten Which is as it should be, of course. UNLESS he's acting for one.
  • @stephenpatten Totally understand your position. Getting a little irritated at the guys: it seems the CTO gets worse service than customers.
Bottom swirl