locked
ADFS 2.0 - not populating the federation metadata physic path. 404 error RRS feed

  • Question

  • 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 7:21 PM

Answers

  • Try the following:

    In IIS:

    1. Navigate to the Default Website.
    2. Click 'View Applications' and remove both /adfs and /adfs/ls
    3. Navigate to Application Pools and remove ADFSAppPool.

    Close IIS Manager

    • Marked as answer by PITmhep Friday, November 30, 2012 5:30 PM
    Monday, November 26, 2012 10:45 PM
    Moderator

All replies

  • Try the following:

    In IIS:

    1. Navigate to the Default Website.
    2. Click 'View Applications' and remove both /adfs and /adfs/ls
    3. Navigate to Application Pools and remove ADFSAppPool.

    Close IIS Manager

    • Marked as answer by PITmhep Friday, November 30, 2012 5:30 PM
    Monday, November 26, 2012 10:45 PM
    Moderator
  • Run 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


    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn


    Tuesday, November 27, 2012 4:15 AM
    Moderator
  • 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 4:56 PM
  • Had missed a file. Completed without errors, however the problem still exists of the xml file.
    Tuesday, November 27, 2012 5:13 PM
  • There 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.

    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn

    Wednesday, November 28, 2012 3:07 AM
    Moderator