Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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.