SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have done FBA configuration in IIS. I am getting success to login through FBA User. But when click on sign out through any SharePoint user or FBA user, it will give error

"Exception of type 'System.ArgumentException' was thrown. Parameter name: encodedValue"

I note that When click on sign out it will redirect to "/SiteURL" not to "/SiteURL/_login/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F".

I dont know what happen..

Any Suggestion?

share|improve this question

You can define custom signout URL with PowerShell.

Set-SPCustomLayoutsPage -identity "Signout" -RelativePath "/_layouts/customsignout.aspx" -WebApplication "http://server_name/mywebapp"

You can view the current signout page with

Get-SPCustomLayoutsPage -Identity "Signout" -WebApplication "http://server_name/mywebapp"

share|improve this answer
Thanx @Jussi Palo... I dont know how to make custom sign out page? Can you guide me with some code? Thanx in advance... – Viraj Gorajia Feb 23 '13 at 16:56
If you would see if there is some custom value set for the signout page, if yes, then revert the setting back to default signout page. – Jussi Palo Feb 25 '13 at 13:50

Have you set the web application to use FormsAuth in Central Administration? Sounds like the web application doesn't know where to send the correct signout requests...

share|improve this answer
But how can i set signout page from Central Administration? – Viraj Gorajia Feb 28 '13 at 12:16
You don't, you set the application to use Forms Auth in Central Admin, and then SharePoint knows where to send users on sign out – James Love Feb 28 '13 at 14:54
i have created one customsignout page. It contain code for delete FormAuthentication cookies but only for FBA Users. I also want to delete Sharepoint users credential and cookies. How? If you know then guide me. – Viraj Gorajia Mar 1 '13 at 7:10
What I'm saying is that if you use FormsAuth as specified in Central Admin, you do not need a custom signout page. – James Love Mar 1 '13 at 10:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.