Then be sure to check the Run as administrator check box. Right click on the shortcut and go into the advanced… menu. Visual Studio to always start as Administrator. These are but two examples of why it is so important to run Visual Studio as an Administrator. This is because IIS requires elevated privileges. This is one of the rare instances where Visual Studio explicitly tells you that you that you are required to start it as an Administrator. When it isn’t running under Administrator privileges, it will block you and warn you that you need elevated privileges. This can quickly lead you to think that the tool isn’t worth much!Īnother instance where Visual Studio must be running as Administrator, is when you need to create a website under IIS from within Visual Studio. One example of this can be observed when you are working with Coded UI Tests (CUIT), when Visual Studio is not running as Administrator, the recorder will not have access to all the control properties that are required. In some cases, it will misbehave and you might not notice it. Visual Studio is quirky when it comes to user rights. This will greatly reduce the number of headaches cause by tools who don’t react the way you expect them to. When ever you have admin rights to your computer, be sure to run Visual Studio as Administrator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |