Rob Garrett - Blogs

Welcome to Rob Garrett - Blogs Sign in | Join | Help
in Search
Google

Software/Technology Discussion

Software and Technology Tid-bits

Debugging ASP.NET as non-admin (LUA)

See my previous post about LUA, and why it is a good idea.  Today I managed to get ASP.NET 2.0 to debug correctly, using Visual Studio .NET 2005 under LUA.  Thanks to Andrew Duthie's post.  I needed to tweak my system a little, here are my steps in digest (II6 only):

1. Create a new user group (Control Panel, Administrative Tools, Computer Manager, Local Users and Groups), called ASPNETDebug.
2. Add the LUA user to the ASPNETDebug group.
3. Add the LUA user to the IIS_WPG group.
4. Modify the following local account policies (Control Panel, Administrative Tools, Local Security Policy, Security Settings, Local Policies, User Rights Assignments):
  • "Adjust memory quotas for a process" - add the ASPNETDebug user group.
  • "Replace a process level token" - add the ASPNETDebug user group.
5. Modify the NTFS permissions on the following directories, and add the ASPNETDebug group with modify permissions:
  • %windows%\temp
  • %windows%\Microsoft.NET\Framework\%framework version%\Temporary ASP.NET Files
6. Create a new application pool in IIS 6 (not based on any other app pool).
7. Change the identity of the newly created application pool to the LUA.
8. Change the app pool of ASP.NET web site application being debugged to the newly created app pool.
Share this post: Email it! | bookmark it! | digg it! | reddit!
Published Wednesday, November 09, 2005 2:51 PM by Rob Garrett

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit

Blurb


Head Shot
Rob Garrett is a British Expat living in Maryland USA. Rob is a trained software engineer and experienced in Windows .NET development.

Rob enjoys listening to Rock music, posting to blogs, driving in the country with the sunroof open, beer (not in conjunction with country driving) and spending time with his family.

This Blog

Syndication

Powered by Community Server, by Telligent Systems