Monday, November 26, 2012 7:21 PM
EDIT: This deployment was not resolved and was abandoned.
In attempting to resolve an issue with ADFS 2.0 it was recommended that we rerun the install wizard for ADFS 2.0.
We selected the delete DB option as was suggested. We got a notification that the website was not recreated because it already existed. In trying to verify the metadata.xml file, we're now getting a 404 error where the file is pointing to C:\Program Files\Windows Small Business Server\Bin\WebApp\SBS Web Applications\federationmetadata\2007-06\federationmetadata.xml
There is no federationmetadata directory under the SBS Web Applications folder.
How can we force ADFS to recreate the directory and populate the appropriate metadata?
- Edited by PITmhep Friday, November 30, 2012 5:29 PM Deployment Scratched
Monday, November 26, 2012 10:45 PMModerator
Try the following:
- Navigate to the Default Website.
- Click 'View Applications' and remove both /adfs and /adfs/ls
- Navigate to Application Pools and remove ADFSAppPool.
Close IIS Manager
- Marked As Answer by PITmhep Friday, November 30, 2012 5:30 PM
Tuesday, November 27, 2012 4:15 AMModeratorRun these 2 commands from C:\Windows\System32\inetsrv after uninstalling and deleting the folders under inetpub
appcmd delete app "Default Web Site/adfs/ls
appcmd delete app "Default Web Site/adfs/card
- Edited by JLattimerMicrosoft Community Contributor, Moderator Tuesday, November 27, 2012 4:16 AM
- Proposed As Answer by JLattimerMicrosoft Community Contributor, Moderator Tuesday, November 27, 2012 4:16 AM
Tuesday, November 27, 2012 4:56 PM
Thank you. It was unsuccessful, however. Still prompted that "Existing Web site detected. Therefore, the Web site was not reinstalled."
Metadata does not populate. Attempting to view/validate prompts to download the xml file, but "the file cannot be downloaded" is what explorer shows, since the file doesn't exist.
Tuesday, November 27, 2012 5:13 PMHad missed a file. Completed without errors, however the problem still exists of the xml file.
Wednesday, November 28, 2012 3:07 AMModeratorThere won't actually be a folder "federationmetadata" in the file system or in IIS that you can verify. If you are following the steps to set up an IFD deployment - the URL should be something like https://sts1.domain.com/federationmetadata/2007-06/federationmetadata.xml - where "sts1.domain.com" was entered when initally configuring ADFS.