Tuesday, December 27, 2005

SwitchTower Development Tool

I have been working on a cluster-aware .Net/VB/C++/ASP.Net/COM+ deployment system similar in concept to SwitchTower.

Friday, December 09, 2005

Uninstalling Existing StrongName Keys with sn.exe Created By Other Users

When trying to a strongname in Windows XP with sn.exe -d, we got an "8013141C" error - "Failed  to install  key  pair  -- Object  already  exists.".  This was caused by having the same key installed under a different domain, domain user, or local user account.

The hack to fix this is:
  1. Browse to  %SystemDrive%\Documents and  Settings\AllUsers\ApplicationData\Microsoft\Crypto\RSA\MachineKeys
  2. Grant rights to Adminstrators, or whatever group you belong  to
  3. Take Ownership of this folder (click Advanced under Security, and then click the Ownership tab at the top)
  4. Apply the changes to the children ("Replate permission...")

Subversion and ASP.Net

ASP.Net and Subversion have a point of contention. ASP.Net does not like files that start with "." and Subversion uses folders called ".svn". A work-around for Subversion < 1.2.6 exists in the form of a "hacked" version of SVN.exe that uses "_svn" instead of ".svn". This same hack is provided as a special (unsupported) version of TortoiseSVN that also uses "_svn". However, if you use the TSVN hack, you cannot use the SVN.exe that comes with versions < 1.2.6.
When Subversion 1.3.0 is released, this will not be an issue:

See:

Subversion 1.3 Release Notes
and
ASP.Net Hack Notes

You can, in the mean-time, download a modified 1.2.x EXE from Jonathan Malek's blog or a modified 1.1.3 or 1.1.4 modified EXE from another entry.

I am currently using the 1.2.0 binary with the TortoiseSVN ASP.Net hack until SVN 1.3 is released.