Clicking the "sign in as a different user" link from the system menu in SP 2010 yields an access denied error.
URL is:
\_layouts\closeConnection.aspx?loginasanotheruser=true
any ideas?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityClicking the "sign in as a different user" link from the system menu in SP 2010 yields an access denied error.
URL is:
\_layouts\closeConnection.aspx?loginasanotheruser=true
any ideas?
If you have customized the AccessDenied page, this could be a reason:
"For some reason re-login feature (“Sign in as Different user”) is implemented via access denied page. Click on your name in the top right corner and select ‘Sign in as different user’. You will get access denied page. Strange but it is true!! No idea why it is done this way (other than someone took a shortcut approach).
So now, you need to implement the ‘Sign in as different user’ login in your new accessdenied.aspx page"
See more here: http://balajinjl.wordpress.com/2008/06/18/customizing-access-denied-page-in-moss-2007/
I had a similar issue. I face a error "Access Denied" when open my aspx page in the popup. Here there is a code:
var dialogOptions = {
url: '/_layouts/TestFeature/Test.aspx?currentUrl=' + window.location.href + '&selectedIds=' + ids,
title: 'Test popup',
allowMaximize: true,
showClose: true,
width: 550,
height: 200
};
SP.UI.ModalDialog.showModalDialog(dialogOptions);
I killed whole day searching a solution. And the solution was very simple. I had to delete the first '/' in the url!!!
url: '_layouts/TestFeature/Test.aspx?currentUrl=' +
Maybe it will be helpful for someone.