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 a开发者_如何转开发nd 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:
- run Internet Explorer through runascommand under the desired user account:C:\Windows\System32\runas.exe /user:contoso\sampleuser /savecred "c:\program files\internet explorer\iexplore.exe"
- open Internet Explorer as administrator and use the SharePoint's "sign in as different user" feature.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论