Visual Studio 2008 and IIS 5.1 virtual directory RRS feed

  • Question

  • Hello all,

    I'm working on a Visual Studio 2008 solution that should create a Virtual Directory on IIS 5.1 (on Windows XP).

    I use to work on my local drive (C:) and everything work fine. But now, I should migrate on a new desktop without access to C: drive and I should developp on a network share.

    Of course, I now open the solution from the UNC path but the virtual directory is not correctly created. Indeed, when it is first created, I have a "access denied" error with a red cross.

    To solve this error, I need to open IIS 5.1 (inetmgr) , edit the properties of the virtual directory and enter my credentials (by clicking on the "connect as" button in the Virtual Directory tab)

    My question is : How can I automate this manipulation ? Indeed, I would like VS 2008 to be able to create the Virtual Directory without to manually add my credentials.


    Thanks to all



    Thursday, March 17, 2011 4:06 PM


All replies