locked
"The Development Fabric must be run elevated" message when running as an admin user RRS feed

  • Question

  • Hi,

    When I try to run any Cloud Service web role project I recieve the error message "The Development Fabric must be run elevated". According to other posts, this occurs becuase the user I am running Visual Studio under is not an admin. However, this is not the case. My user account is a member of the local administrators group and I still get the message. Please help.

    I'm running Windows 7 x64 with Visual Studio 2008 SP1, .Net 3.5 x64 SP2, Windows Azure SDK x64 and Windows Azure Tools.

    Thanks,

    James 
    Tuesday, January 26, 2010 3:15 AM

Answers

  • Hello,
    Since Windows Vista it does not matter whether you are administrator on the machine or not. The "eleveted" term has poped up. All processes are running under low permission level unless specifically instructed (by the mean Lun Luo said).

    In General it is always good to launch Visual Studio as Administrator. With Any projects not only for Azure. As Lun Luo said - right clicking Run As Administrator is good. But I'd rather advise you that you right click on Visual Studio -> Properties -> Shortcut -> Advanced -> [check] Run As Administrator. That way your VIsual Studio will always run as administrator.
    Tuesday, January 26, 2010 5:09 AM

All replies

  • Are you launching your Cloud Service project from Visual Studio?  If so, you probably need to ensure that you are running Visual Studio with elevated privileges in the first place. 
    Tuesday, January 26, 2010 3:31 AM
  • Have you right clicked Visual Studio, and choose "Run as administrator"?
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, January 26, 2010 4:47 AM
  • Hello,
    Since Windows Vista it does not matter whether you are administrator on the machine or not. The "eleveted" term has poped up. All processes are running under low permission level unless specifically instructed (by the mean Lun Luo said).

    In General it is always good to launch Visual Studio as Administrator. With Any projects not only for Azure. As Lun Luo said - right clicking Run As Administrator is good. But I'd rather advise you that you right click on Visual Studio -> Properties -> Shortcut -> Advanced -> [check] Run As Administrator. That way your VIsual Studio will always run as administrator.
    Tuesday, January 26, 2010 5:09 AM
  • Minor correction: In General it is NOT good to launch Visual Studio as Administrator. Developers should learn to create software that works with standard privilege. This is exactly why Windows introduced UAC at the first place. So whenever you can, please run Visual Studio with standard user privilege. However, sometimes you have to obtain administrator privilege to perform certain tasks. In the Windows Azure case, you must be an administrator to manage IIS, which Development Fabric does internally.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, January 26, 2010 6:55 AM
  • That worked.  I didn't realize that running Visual Studio as a user with admin privileges was not enough but that I also have to expressly run the Visual Studio program as Administrator.

    Thanks,

    James
    Tuesday, January 26, 2010 3:00 PM
  • Thanks Lun Luo for the correction,
    however I personally think that cases requireing Visual Studio to run as administrator are more than just Azure, but that's another subject :)
    Tuesday, January 26, 2010 8:00 PM
  • Perfect.  Thanks for the help Anton.
    Thursday, September 23, 2010 7:25 PM