Previous Next

Thread: Create Website on D:\ drive

Last post 05-27-2008 1:20 PM by tomkmvp. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 05-23-2008, 12:34 PM

    Create Website on D:\ drive

    Hi,

    I have an application that was deployed to the D: drive on a server. Because IIS doen't point there, we can't use Visual Studio to deploy it. When we use Xcopy and create the website, th elocal path is not displayed properly and our LDAP redirect is not working properly.

     

    With no difference in the deployment, a staging site properly installed the folder to IIS - when removing from IIS the folder was also deleted. How can I force IIS to install the folder?

  • 05-23-2008, 1:20 PM In reply to

    Re: Create Website on D:\ drive

    Point IIS anywhere you want.  Right click the site in IIS Manager, choose properties and then the Home Directory tab.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 05-23-2008, 1:23 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,538
    • IIS MVPs
    • tomkmvp

    Re: Create Website on D:\ drive

    Do you want this to be a 1) new web site or 2) an application on an existing web site?

    1)  Create a new web site and use the D:\... path as the root

    2)  Create a new virtual directory on the existing site and point it to the D:\... path.  Be sure to set this virtual directory as an application as well.

  • 05-23-2008, 1:32 PM In reply to

    Re: Create Website on D:\ drive

    The website exists already, but we are deploying a code change. So I would create a root web with a virtual directory all pointing to the same place?

     

    OK, that's that, but I tried using Metabase Explorer to default the server to the folder on the d: drive, but it isn't inetpub\wwwroot. Does that matter? and where do I change that value?

     

    Thanks for your help.

  • 05-23-2008, 1:43 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,538
    • IIS MVPs
    • tomkmvp

    Re: Create Website on D:\ drive

    It's not clear what you're trying to do.

    Do you want to deploy the new code without overwriting the old code?

    No need for metabase explorer, simply use the IIS MMC.

  • 05-23-2008, 1:51 PM In reply to

    Re: Create Website on D:\ drive

    I'm using the IIS MMC. But when we make code changes, we can't just refresh the site, we have to remove the site and recreate it. That's what I want to avoid. I would also like to be able to publish from VS2003, but it defaults to the IIS folder on the server.

     

     

  • 05-23-2008, 3:56 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,538
    • IIS MVPs
    • tomkmvp

    Re: Create Website on D:\ drive

    You shouldn't have to remove the site and re-create it. Specifically what causes you to do this?

    When publishing from VS2003, you can use either FrontPage server extensions or a UNC file path.
    http://support.microsoft.com/default.aspx?scid=kb;en-us;326356
    http://support.microsoft.com/default.aspx?scid=kb;en-us;320265

  • 05-23-2008, 4:24 PM In reply to

    Re: Create Website on D:\ drive

    I tried that but VS2003 says it can't create the web in the D:\WebApps\MergerTools directory. The reason we do this is because copying the new code doesn't refresh the web site even if we remove and recreate the website in IIS.

     That's why I wanted to kno whow to change the default path, so that VS2003 copy project would work properly. Either that or how to get the web site copied to IIS so that the "Local Path" is a \<server> designator and not a directory.

     

    When it is a directory, our redirect code doesn't work.

  • 05-27-2008, 1:20 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,538
    • IIS MVPs
    • tomkmvp

    Re: Create Website on D:\ drive

    Is this what's happening?
    http://support.microsoft.com/default.aspx?scid=kb;en-us;320265

    Do you want "WebApps" or "MergerTools" to be the web site root?

Page 1 of 1 (9 items)
Page view counter