Web Application New Project Question

Last post 11-15-2006 1:57 PM by alan93. 2 replies.

Sort Posts:

  • Web Application New Project Question

    11-15-2006, 11:16 AM
    • Member
      42 point Member
    • alan93
    • Member since 11-14-2006, 10:58 AM
    • Posts 42

    Well I stumped the panel on my last question so I thought I would try another.

    I hope this one is easier.

     When I start a new Web Application Project in VS 2005 (after installing updates and WAP Add In) , the "New Project" dialog window shows the "Location:" defaulting to a physical hard drive location instead of a virtual web address like it did in VS 2003.

    Example in VS 2003:

    Location: http://localhost/WebApplication1
    Project will be created at http://localhost/WebApplication1

    Exampel in VS 2005:

    Location: C:\WebApps
    Solution Name: WebApplication1

    Is this right? The reason is, it is very cofusing the way it automatcially creates the the web apps virutal directories in the Internet Information Services.
    It seems to be doing doulbe entries which I don't understand. VS 2003 was so much easier.

    I'm just trying to re-learn everything as the new versions of MS dictatesConfused

  • Re: Web Application New Project Question

    11-15-2006, 1:37 PM
    • Contributor
      2,365 point Contributor
    • timmcb
    • Member since 11-04-2002, 4:29 PM
    • Redmond, WA
    • Posts 469
    • AspNetTeam

    VS 2005 has a built in web server (aka Cassini) that it uses by default.  This allows folks to develop web applications without setting up a virtual directory or an IIS server.  If you want to use IIS you can change the project properties to do so.

    Tim McBride

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Web Application New Project Question

    11-15-2006, 1:57 PM
    • Member
      42 point Member
    • alan93
    • Member since 11-14-2006, 10:58 AM
    • Posts 42

    Ok thanks, but when I tried to use that built in server I got the following error:

    An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.

    Additional information: Could not load file or assembly 'WebDev.WebHost, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    It worked fine when creating a virtual dir using IIS.

     It's funny, but when things are made to make things easier, they get harder.

Page 1 of 1 (3 items)