locked
BTDF for 2013 R2 RRS feed

Answers

  • Hi Suresh,

    You can only deploy one website as the main site with BTDF by putting the below tag in the deployment project. Here 2 is the ID of the site in IIS and you can check this value by looking at the properties of the website in IIS

    <IISMetabasePath>IIS://localhost/w3svc/2/Root</IISMetabasePath>

    If you have more than one website and you want to deploy all of them as main sites(not under default website) then you can’t do using the above as only one tag is allowed in the deployment project

    I have 4 websites and the workaround I did is…

    1.        Let the BTDF deploy all the 4 websites under default website
    2.        Post deployment script using PowerShell to move the websites from default to main site
    3.        Delete the existing websites under default website

    Hope that Helps

    Cheers


    JB

    • Proposed as answer by Angie Xu Friday, October 23, 2015 5:20 AM
    • Marked as answer by Angie Xu Friday, October 23, 2015 5:22 AM
    Tuesday, October 13, 2015 10:40 PM

All replies

  • Suresh, Did you try the <SiteName> tag under the IISApp item group?

    <ItemGroup>
        <IISApp Include="Service">
          <VirtualPath>/YourService</VirtualPath>
          <UndeployAction>Delete</UndeployAction>
          <DeployAction>CreateOrUpdate</DeployAction>
          <AppPoolName>BizTalkAppPool</AppPoolName>
          <PhysicalPath>..\YourService</PhysicalPath>
          <SiteName>SiteName</SiteName>
        </IISApp>
      </ItemGroup>

    • Proposed as answer by Angie Xu Thursday, October 22, 2015 7:07 AM
    Tuesday, October 13, 2015 3:17 PM
  • Hi Suresh,

    You can only deploy one website as the main site with BTDF by putting the below tag in the deployment project. Here 2 is the ID of the site in IIS and you can check this value by looking at the properties of the website in IIS

    <IISMetabasePath>IIS://localhost/w3svc/2/Root</IISMetabasePath>

    If you have more than one website and you want to deploy all of them as main sites(not under default website) then you can’t do using the above as only one tag is allowed in the deployment project

    I have 4 websites and the workaround I did is…

    1.        Let the BTDF deploy all the 4 websites under default website
    2.        Post deployment script using PowerShell to move the websites from default to main site
    3.        Delete the existing websites under default website

    Hope that Helps

    Cheers


    JB

    • Proposed as answer by Angie Xu Friday, October 23, 2015 5:20 AM
    • Marked as answer by Angie Xu Friday, October 23, 2015 5:22 AM
    Tuesday, October 13, 2015 10:40 PM