Answered by:
Sign in as a different user Changing URL % as %25

Question
-
Hi,
In url having space %20,when i am clicking as Sign as different user it was changing to %20 as %2520,so %is changing as %25,because of this i am getting error,can any one help on this issue.
If i remove the %25 manually from url its working fine.
Thanks & Regards, Krishna
Monday, October 17, 2016 6:58 AM
Answers
-
It sounds like your URL is being double-encoded. Have you deployed any post-SP1 update to SharePoint 2013 (April 2014 CU or MS14-022 or higher)? September 2014 CU clears the double encoding issue.
- Proposed as answer by Victoria Xia Wednesday, October 26, 2016 1:40 AM
- Marked as answer by Waqas Sarwar(MVP) Wednesday, October 26, 2016 7:24 PM
Monday, October 17, 2016 7:01 AM -
Hi ,
As another workaround you can add the following custom action link to use closeConnection.aspx?loginasanotheruser=true for your web application, this custom link could be used to login as another user, but it will redirect user to site home page, you can try.
http://support.microsoft.com/kb/2752600
http://www.cwheeler76.com/Lists/Posts/Post.aspx?ID=2
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyLoginDifferentUser" GroupId="PersonalActions" Location="Microsoft.SharePoint.StandardMenu" Sequence="1000" Title="Sign in as Different User"> <UrlAction Url="/_layouts/closeConnection.aspx?loginasanotheruser=true"/> </CustomAction> </Elements>
- Proposed as answer by Maruthachalam Tuesday, October 18, 2016 6:05 PM
- Marked as answer by Waqas Sarwar(MVP) Wednesday, October 26, 2016 7:24 PM
Monday, October 17, 2016 7:01 AM
All replies
-
Hi ,
As another workaround you can add the following custom action link to use closeConnection.aspx?loginasanotheruser=true for your web application, this custom link could be used to login as another user, but it will redirect user to site home page, you can try.
http://support.microsoft.com/kb/2752600
http://www.cwheeler76.com/Lists/Posts/Post.aspx?ID=2
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyLoginDifferentUser" GroupId="PersonalActions" Location="Microsoft.SharePoint.StandardMenu" Sequence="1000" Title="Sign in as Different User"> <UrlAction Url="/_layouts/closeConnection.aspx?loginasanotheruser=true"/> </CustomAction> </Elements>
- Proposed as answer by Maruthachalam Tuesday, October 18, 2016 6:05 PM
- Marked as answer by Waqas Sarwar(MVP) Wednesday, October 26, 2016 7:24 PM
Monday, October 17, 2016 7:01 AM -
It sounds like your URL is being double-encoded. Have you deployed any post-SP1 update to SharePoint 2013 (April 2014 CU or MS14-022 or higher)? September 2014 CU clears the double encoding issue.
- Proposed as answer by Victoria Xia Wednesday, October 26, 2016 1:40 AM
- Marked as answer by Waqas Sarwar(MVP) Wednesday, October 26, 2016 7:24 PM
Monday, October 17, 2016 7:01 AM -
Hi,
Its happening few times randomly.Some time sing in as different users works fine.
Some times %25 appears in the url before redirecting to the same page as different user after, selecting sign in as different user option.Then error comes up.
Thanks & Regards, Krishna
Monday, October 17, 2016 7:04 AM -
Hi Krishna,
Please install September 2014 CU for SharePoint as Shelley suggested to see what happens.
Best Regards,
Victoria
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comTuesday, October 18, 2016 10:37 AM -
Hi,
Currently we installed June 2016 CU for SharePoint 2013 on premise Farm.We migrated to SharePoint 2013 these year only 6 months back.
Can we still able to install "September 2014 CU"
Thanks & Regards, Krishna
Thursday, October 27, 2016 6:29 AM -
Hi Krishna,
If you have installed June 2016 CU for SharePoint 2013, you do not need to install September 2014 CU.
Did you still meet the issue after applying June 2016 CU?
Best regards,
Victoria
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- Edited by Victoria Xia Tuesday, November 1, 2016 5:10 AM
Monday, October 31, 2016 10:31 AM -
Hi Victoria,
I am still facing the issue.We are using SP2013 on premise environment.
How\where to add below in closeConnection.aspx?As these page is aspx page.
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyLoginDifferentUser" GroupId="PersonalActions" Location="Microsoft.SharePoint.StandardMenu" Sequence="1000" Title="Sign in as Different User"> <UrlAction Url="/_layouts/closeConnection.aspx?loginasanotheruser=true"/> </CustomAction> </Elements>
Thanks & Regards, Krishna
Wednesday, November 30, 2016 5:36 AM