PFDAVadmin on Exchange 2007: Could not expand…

You might want to use PFDAVAdmin on Exchange 2007 (to set public folder user rights for example) and run into this error;

Could not expand https://yourexchange.yourdomain.local/ExAdmin/Admin/….
Name cannot begin with the ‘0’ character, hexadecimal value 0x30. Line 1, position 399.

You should either install .NET Framework 1.1 or run the tool from a server or workstation with .NET Framework 1.1 installed.

When installing the 1.1 framework on Windows 2003 64 bit, run the following post install to fix IIS problems (OWA does not work until you run this);

cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

%SYSTEMROOT%Microsoft.NETFramework64v2.0.50727aspnet_regiis.exe –i