« Previous Next »

Thread: IIS7, Vista RC1, Visual Studio 2005

Last post 09-14-2006 10:17 PM by steve schofield. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 09-14-2006, 4:46 AM

    IIS7, Vista RC1, Visual Studio 2005

    Hi All,

     I may be missing something, but I'm having major difficulty developing websites using IIS7, vista and visual studo 2005.  In visual studio, I used to be able to click File > New > Website, Change the location to http, and it would create a virtual directory for me at eg: http://localhost/MyWebApp.  Now when I do this, I get the error:

    "Unable to create the Web 'http://localhost/MyWebApp'.  The web server does not appear to have the FrontPage server extensions installed."

     Now, I understand that the model is completely different in IIS7 compared to the version that was installed on my XP box,  but does this mean that this method doesn't now work?

     It would seem that my next option would be to make a local filesystem website, and create a new application in the iis7 admin tool to point to the local filesystem location, and change the website property in visual studio to "Use Custom Server pointing at http://localhost/MyWebApp"

    When I run with debugging, I get an error saying it was "Unable to start debugging on the server...." 

    and it pretty much just goes downhill from here.

     I don't want to rely on the asp.net debugging server that is built into visual studio, as I run msbuild and nunit to run unit tests on the code from outside visual studio.  This relies on my webservices being in a particular location.

     My installation of IIS7 has all the optional features (iis6 management etc... installed).
     
    So: Question:  Is it possible to develop web applications using IIS7 as the dev server? and is it able to debug within Visual Studio 2005?

     

    Thanks for any help!

     Chris.

  • 09-14-2006, 10:17 PM In reply to

    Re: IIS7, Vista RC1, Visual Studio 2005

    Hi Chris,

    I haven't install VS 2005 on my Vista RC1 box yet however have been able to install and use Visual Web Developer to create websites and debug with no issues.  When I created the site here are the steps I created.

    1) File, New Site
    2) location / HTTP
    3) http://localhost/Website (the actual physical location was c:\domains\steveschofield.net)
    4) Click OK and it created it.

    The one thing I turned off the additional user account control ( I think that is the name for now).  Yes, I know its great security but the prompts were bugging me when learning new stuff.  That might be impacting it but I also installed everything relating to IIS7 also.  In a production box I'd only install what I need.  I would verify you aren't trying to connect to the FrontPage server extensions option.  I'll have to get VS 2005 and try to reproduce this error.

    Want to know a scary side note, I downloaded and installed Apache 2.2 on my Vista RC1 box.  I wanted to compare the .config files in Apache and IIS7.  I was even able to use VWD to open my localhost site when Apache was running.  (IIS7 was turned off).  I'm not promoting Apache but VWD connect to it.  Couldn't debug but hey, could write some pretty awesome .HTML pages.  :)

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (2 items)
Microsoft Communities