My copy of the book The .NET Developers Guide to Windows Security by Keith
Brown was delivered this morning. Inspired by his tips on how to develop as
a non-admin I thought I'd have another bash at it. I was going well until I
tried to open a VS2010 solution with an ASP.NET project and I got the usual
error:

 

To access local IIS Web sites, you must run Visual Studio in the context of
an administrator account.

 

Keith reckons this is fixed by adding your user account to the Debugger
Users and VS Developers groups, but this book is 5 years old and these
groups don't seem to exist anymore. I can runas devenv.exe as an
Administrator, manually enter the name and password every time, but it will
create a new profile and make a mess.

 

I gave up and returned to having my domain user account as a local
administrator. Is anyone here successfully developing as a non-admin? 

 

Greg

Reply via email to