« Previous Next »

Thread: Why is it looking in inetpub?

Last post 07-15-2009 11:05 PM by Leo Tang - MSFT. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-10-2009, 3:27 PM

    Why is it looking in inetpub?

    I set up a virtual directory and pointed it at such-and-such a physical location. But when I try loading up a web service in my browser it look for it in inetpub and I get a 404 error. Why would it do that?

  • 07-10-2009, 3:29 PM In reply to

    Re: Why is it looking in inetpub?

    Sorry this should go in the IIS 7.0 section

  • 07-10-2009, 4:56 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: Why is it looking in inetpub?

    You probably need to create an application and not a virtual directory - a lot of stuff in asp.net is per application (like app_code/bin directories etc) and will only be looked for in the application root.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 07-13-2009, 10:11 AM In reply to

    Re: Why is it looking in inetpub?

    Well it all worked fine in 32-bit on IIS 6. Now I am trying to get the same web services working on 64-bit with IIS 7 and I am getting totally confused. Will I need to just get someone to recompile the web services for 64-bit?
  • 07-13-2009, 11:17 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: Why is it looking in inetpub?

    You probably created an application and not a virtual directory on IIS6.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 07-15-2009, 11:05 PM In reply to

    Re: Why is it looking in inetpub?

    Hi,

    Have you resolved this issue? For the difference between the application and virtual directory , you can refer to this article:
    Understanding Sites, Applications, and Virtual Directories in IIS 7.0
    http://learn.iis.net/page.aspx/150/understanding-sites-apps-and-vdirs-in-iis-7/

    If your problem persist, could you send the relevant IIS log entries here ? IIS log files located in the %systemdrive%/inetpub/log/LogFiles/W3SVC+n directory.

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (6 items)