locked
Problem Opening applicationhost.config in VS2008 (Elevated) RRS feed

  • Question

  • User1719618853 posted

    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

    Thursday, July 31, 2008 6:13 PM

Answers

  • User511787461 posted

    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.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, July 31, 2008 6:19 PM

All replies

  • User511787461 posted

    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.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, July 31, 2008 6:19 PM
  • User1123307697 posted

    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

    Tuesday, April 7, 2009 7:26 AM
  • User989702501 posted

    Notepad or appcmd :)

    Tuesday, April 7, 2009 7:42 AM
  • User-1997039651 posted

     Map a network drive to your C drive. You can then open the file on the mapped drive with VS2008.

    Wednesday, July 20, 2011 12:45 PM
  • User989702501 posted
    Dude, this thread is 3yrs old.
    Thursday, July 21, 2011 11:39 PM