Wednesday, April 18, 2007

Dreaded VS.NET Unable to start debugging

Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug. Verify that you are a member of the 'Debugger Users' group on the sever.
http://msdn2.microsoft.com/en-us/library/aa290100(VS.71).aspx

Disable/Modify Loopback check:
http://support.microsoft.com/?kbid=896861

Other things to check:

IE - http://localhost is trusted
IIS - virtualdir/configuration/debugging/ enable asp server-side script debugging
NTFS - physicaldir/security/ - make sure your user account has full permissions
IE7 - internet options/security settings/local intranet/custom level - bottom make sure "automatic logon with current user name and password" is checked also add http://localhost to the sites list
NTFS - inetpub\wwwroot\ - give your account full control
Local Users and Groups - make sure you are indeed a member of debugger users; also add aspnet account to debugger users group
Web.config -
C:\WINDOWS\Microsoft.NET\Framework\\ - ensure ASPNET Machine Account has full rights
CMD - C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

http://ryanfarley.com/blog/archive/2005/08/23/8540.aspx

Tuesday, April 3, 2007

Ubuntu Recovery

Got locked out of Ubutu login screens. To recover, hit escape at the beginning of the boot cycle to get a menu of boot options. Boot to recovery mode. In recovery mode, add a user by adduser [username]. then follow this post:

#addgroup –system admin
#visudo The sudoers file should then be edited to include:
%admin ALL=(ALL) ALL
#adduser username admin

in my case, the admin group already existed. so i skipped ahead to adduser [user] admin