TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gowtham
NA
516
41.4k
Custom Sign in URL not loading for sharepoint site
May 31 2019 9:11 AM
Hi ,
I am working on FBA authentication for sharepoint on permises.I had created a application page for custom login and deployed on layout 15 hive.I have configured the FBA for the extended web application.For custom sign in url I have mapped like "~/_layouts/15/sample/default.aspx". While page loading its not landing on custom url instead its loads on default url. My requirement is to land on custom url while loading my sharepoint site. But Its working fine while loading manual like
"http://mysite:2222/_layouts/15/sample/login.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F"
Issue is when I load http://mysite:2222/ is not landing on custom url it loads default url.
sample.aspx
<
%@ Assembly
Name
=
"$SharePoint.Project.AssemblyFullName$"
%
>
<
%@ Register
Tagprefix
=
"SharePoint"
Namespace
=
"Microsoft.SharePoint.WebControls"
Assembly
=
"Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%
>
<
%@ Assembly
Name
=
"Microsoft.SharePoint.IdentityModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%
>
<
%@ Register
Tagprefix
=
"Utilities"
Namespace
=
"Microsoft.SharePoint.Utilities"
Assembly
=
"Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%
>
<
%@ Register
Tagprefix
=
"asp"
Namespace
=
"System.Web.UI"
Assembly
=
"System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
%
>
<
%@ Import
Namespace
=
"Microsoft.SharePoint"
%
>
<
%@ Assembly
Name
=
"Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
%
>
<
%@ Page
Language
=
"C#"
AutoEventWireup
=
"true"
CodeBehind
=
"NewLogin.aspx.cs"
Inherits
=
"Sample.Layouts.Sample.NewLogin"
MasterPageFile
=
"~/_layouts/15/errorv15.master"
%
>
C# code.
using
System;
using
Microsoft.SharePoint;
using
Microsoft.SharePoint.WebControls;
using
Microsoft.SharePoint.IdentityModel.Pages;
namespace
Sample.Layouts.Sample
{
public
partial
class
NewLogin : System.Web.UI.Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
}
}
}
Regards
Gowtham.
Reply
Answers (
1
)
Restore SharePoint site for permanently deleted SharePoint s
Failed to run SharePoint Products Configuration Wizard