« Previous Next »

Thread: Problem Opening applicationhost.config in VS2008 (Elevated)

Last post 04-07-2009 7:42 AM by qbernard. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 07-31-2008, 6:13 PM

    Problem Opening applicationhost.config in VS2008 (Elevated)

    Hi,

        I came across an issue today which I've never had before and was wondering if anyone else has seen similar.  I was wrinting a blog post about and appcmd script and wanted to copy and paste the resultant section from applicationhost.config.  Then I hit the problem, I ran VS2008 elevated but when I browsed to c:\windows\system32\inetsrv\config not files are listed and I can't open applicationhost.config, however I can find and open the file using an elevated instance of trusty Notepad :o.  I've tried system restarts etc and still can't get passed this.  I'm running Vista Ultimate 64 SP1, can't remember ever having this problem on Vista Business 32bit SP1, just trying to work out if it's a 64 bit issue or VS2008 issue.

     Anyone any ideas?

    Cheers

    Andy

    Andrew Westgarth

    MVP for Internet Information Services (IIS) - https://mvp.support.microsoft.com/profile/Andrew.Westgarth

    Blog: http://www.andrewwestgarth.co.uk/blog
    Twitter: http://www.twitter.com/apwestgarth

    VBUG North East Regional Coordinator
    VBUG - Developing the Developer! - http://www.vbug.com
  • 07-31-2008, 6:19 PM In reply to

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

    Re: Problem Opening applicationhost.config in VS2008 (Elevated)

    This happens because VS2008 is a 32-bit binary and so when you try to open %windir%\system32\inetsrv with VS2008, the file-system redirection for 32-bit binaries on x64 OS kicks in and you actually end up opening %windir%\syswow64\inetsrv and there is no config directory or applicationhost.config file in there.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-07-2009, 7:26 AM In reply to

    Re: Problem Opening applicationhost.config in VS2008 (Elevated)

    Then how to solve the problem .i want to override the requestFiltering to change the default size for uploading videos on my website.Pls help its urgent

  • 04-07-2009, 7:42 AM In reply to

    Re: Problem Opening applicationhost.config in VS2008 (Elevated)

    Notepad or appcmd :)

    Cheers,
    Bernard Cheah
Page 1 of 1 (4 items)
Microsoft Communities