I have acustom sharepoint page.
on my machine I can debug the code normaly by attaching to the w3p process when I’m logged in as the administrator user.
when I log in with another user and try to debug I always get access denied page in the sharepoint and the dubug exists.
is there a way to debug the code while logged in with another user
thanks
Currently, you are trying to attach to sharepoint’s processes which run under some specific account, using a non-admin account. You simply don’t have enough privileges to do that.
I’d suggest that you keep logged in as administrator and consider the two choices:
runascommand under the desired user account:C:\Windows\System32\runas.exe /user:contoso\sampleuser /savecred "c:\program files\internet explorer\iexplore.exe"