Error "404 Not Found" when using PFDavAdmin against Exchange 2007

 

Sometimes when using PFDavAdmin to view folder properties with Exchange 2007 you may see the following error in the tool:

 

The remote server returned an error: (404) Not Found

 

If you look at the IIS logs on the target machine, you will see the error was "404.11".

This is due to enhanced security settings that can be set in IIS, and are set by default in IIS7 (Windows 2008).

 

The solution is described in the following article:

 

942076  Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 404.11 – URL_DOUBLE_ESCAPED"

https://support.microsoft.com/default.aspx?scid=kb;EN-US;942076

 

I found that the change in settings only worked after I had used APPCMD in the following way (on my W2K8 MBX server):

Under the following folder:

 

%windir%\system32\inetsrv

 

Run:

 

Appcmd set config "Default Web Site" /section:system.webServer/Security/requestFiltering -allowDoubleEscaping:True

 

If you are still having problems, seeing different errors in the IIS logs, or see different symptoms, you probably have a different issue.