Subtext 2.0 on Go Daddy

Arrgghh!!  Well that was an ordeal!  I took down the site last night to upgrade to Subtext 2.0.  I noticed it came out a few months ago and somehow I missed it.  Upgrading is always painful for me since I’m on Go Daddy hosting.  This means that I always have two things that necessitate a less than painless upgrade.

  1. You can’t set the trust level.  Go Daddy sets it at machine level and you can’t override it.
  2. All SQL scripts require extensive manual rework since they rely on the [INFORMATION_SCHEMA].[TABLES] object to which Go Daddy doesn’t allow access.

Well, that was enough for prior versions.  It turns out that 2.0 has two different entirely new problems.  One of them isn’t directly the fault of Subtext.  It turns out that the library used for Open ID integration demands a permission.  This throws a security exception.  Not a huge thing, except that you need to pull down the entire source tree and rebuild the Subtext.Web project against a newer Open ID library.

The other problem relates to Subtext.Framework.  The URL handler factory code also demands a permission.  It turns out that catching an exception there works wonders, and thanks to a patch already uploaded to SourceForge it can be to work pretty easily.

The point is, somehow these things made it through to 2.0, even though I’m definitely not the only Subtext user on Go Daddy.  I really like a lot of things about Subtext and I’ve been using the engine since the .Text days, but upgrade has always been a pain and it’s obvious that partial-trust doesn’t fit into their test plan.

Just in case it helps anyone, I’m making the necessary changes available.  Hopefully it won’t be required soon, but maybe it will save someone time for now.  It includes the new DotNetOpenId.dll, the Subtext.Web.dll with the updated manifest, and the Subtext.Framework.dll with the patch to catch the permission check exception already applied.  It looks like it still won’t actually work with Open ID, but if you use the standard login then you’ll be fine.


Download: Subtext2-GoDaddy.zip

posted @ Saturday, October 18, 2008 2:09 AM

       Print
Comments have been closed on this topic.
«September»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789