PFDAVAdmin - 401 Unauthorized
Hi,Im using this on a XP workstation with .net 1.1 on, and am getting an error on connection. "Failed to connect using a secure url to ...." "the remote server returned 401 Unauthorized"Any ideas on how I resolve this? I have googled and searched the forums but nothing seems to rid me of this error.Phil
August 17th, 2009 6:05pm

Is it Exchange 2007 Version? I would ask you to take a look @ below for similar issue http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/e2a1fbbb-c7de-4962-aa2c-bd0d865040dd Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2009 6:11pm

Yes 2007I have gone to this url http://support.microsoft.com/kb/942043/en-usand I cannot follow its steps with win2008 server & exchange. I cannot enable the correct authentication,it is not present and there is no option to add / enable it. Phil
August 17th, 2009 6:16pm

Just a wild guess, make sure that Public Folder Hierarchies doesn't have deny read permission on any account/group as per below KB... http://support.microsoft.com/default.aspx/kb/313866 Second thing, what's the version of Windows you have for Exchange 2007 server? If windows 2008, then make sure that all necessary and required components of IIS server for CAS/MBx server roles installed on it... How to Install Exchange 2007 SP1 Prerequisites on Windows Server 2008 or Windows Vista http://technet.microsoft.com/en-us/library/bb691354.aspxAmit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2009 7:36pm

its a exchange 2007 clustered setup on windows 2008 servers, everything is working ok and has been working for 5-6months. Hub/Cas roles are installed on separate servers as per clustering req.Phil
August 17th, 2009 8:44pm

Please refer the To configure Windows Authentication for IIS 7.0 section in this article on the windows server 2008 Configure Windows Authentication (IIS 7)
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2009 6:10am

I enabled the Windows Authentication now on both of the clustered servers, and its enabled within the EXAdmin. Restarted the default site. Ran PFDavAdmin, Still getting a 401 error though. If I browse through the IIS manager port 80 HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. Phil
August 18th, 2009 12:21pm

Please continue Mike Shens troubleshooting steps in the link from Vinod, and then provide the detailed IIS log at here Please try to use the answer in that link, to uncheck the Authenticate as currently logged-on user and put the Administrators credential to log on, see if the same symptom occurs
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2009 1:00pm

Now I've enabled Basic / Windows authentication, I get a 500 Error. Is this better or worse? 401 Error Log 2009-08-18 09:12:10 10.4.2.40 SEARCH /ExAdmin/Admin/xxx.CO.UK/public+folders/ - 80 - 10.4.4.15 Exchange+Admin 401 2 5 0 2009-08-18 09:12:21 10.4.2.40 SEARCH /exadmin/admin/xxx.CO.UK/mbx/TomAbbott@xxx.co.uk/non_ipm_subtree/ - 80 - 10.4.4.15 Exchange+Admin 401 2 5 0 500 error Log 2009-08-18 10:44:30 10.4.2.40 SEARCH /ExAdmin/Admin/xxx.CO.UK/public+folders/ - 80 - 10.4.4.15 Exchange+Admin 401 2 5 0 2009-08-18 10:44:30 10.4.2.40 SEARCH /ExAdmin/Admin/xxx.CO.UK/public+folders/ - 80 xxx\loginname 10.4.4.15 Exchange+Admin 500 21 13 0 Phil
August 18th, 2009 1:45pm

Have you tried to recreate the virtual directory? Error 500.21 indicates Module not recognized (KB 943891), please verify if the following prerequisites of IIS have been installed on the mailbox servers Static Content, Default Document, Directory Browsing, HTTP Errors, ASP.NET, .NET Extensibility, ISAPI Extensions, ISAPI Filters, HTTP logging, Request Monitor, Basic Authentication, Windows Authentication, Request Filtering, Static Content Compression, IIS Management Console, IIS 6 Management Compatibility (All checkboxes in it) Then, do an iisreset and monitor the result If all the components above have been installed, please try to access /exchange virtual directory HTTPS://CMSName/Exchange If we got error HTTP Error 500.21 - Internal Server Error, please re-register the ASP.NET Uninstalls all versions of ASP.NET: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis ua Install and enable the ASP.NET: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i -enable Then, do an iisreset again and monitor the result Resources: ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2009 5:18am

This ok to use on 2007?Remove-OWAVirtualDirectory -Identity "Exadmin (Default Web Site)" -Confirm:$false New-OWAVirtualDirectory -WebsiteName "Default Web Site" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exadmin"Phil
August 21st, 2009 12:19pm

Yes, its used to determine if the issue was caused the virtual directory. Has all required web components been installed?
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2009 12:37pm

Im pretty sure they have. How can I check?Phil
August 21st, 2009 12:40pm

Launch Server Manager, expand the node to Roles->Web Server (IIS)
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2009 12:48pm

I assume yes.On the mailbox server it has IIS 7, in default sites theres exadmin,exchange, public sites.Phil
August 21st, 2009 12:52pm

So, you confirmed that all the web components have already installed, right? Have you tested to access the /exchange virtual directory? Whats the result? The missed or damaged ASP.NET can cause same symptom
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2009 1:12pm

If I browse through the IIS Manager, port 80. It comes up with a login dialog box. (This is done on the mailbox server)Phil
August 21st, 2009 1:14pm

Any further info on this thread?
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2009 4:30am

I have to admit I still havent got this working.Phil
September 11th, 2009 11:28am

Do you have the executable on a networked drive? If so, put it on a local drive.
Free Windows Admin Tool Kit Click here and download it now
September 15th, 2009 6:38am

The PFDAVAdmin exe is on a local drive on my workstation (vista). It says not to put on the server as framework 1.1 is needed. Phil
September 15th, 2009 11:23am

Does re-register the ASP.NET work for the issue?
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2009 8:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics