Everyone I have created a web application that is my login page, then i create another web application that will be my Site 1.
I create a Test Web Site in IIS and map on on the web application with a login page, then i add a application which i publish the site to.
now when i logged in on my website, on the home page i have a button then directs to Site1, when i click in i encounter an error
"The Resource cannot be found"
Requested URL: /site1/login.aspx
The problem is i didn't create a login page for Site1 because i thought it would be links it's authentication with the login page. but i got the error below
is there anyway i can make this work? please make it the explanation simple or you have tried the solution yourself.
Based on my understanding, you want to share from authentication between applications.
This is the article on MSDN that talks exactly about this scenario, you can find how to configure the form authentication to make it cross applications.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
26 Points
143 Posts
ASP.NET 2013 Webforms/MVC and IIS - One Website with multiple web application (Single Login Page)
Apr 10, 2017 03:37 AM|amendoza29|LINK
Good Day
Everyone I have created a web application that is my login page, then i create another web application that will be my Site 1.
I create a Test Web Site in IIS and map on on the web application with a login page, then i add a application which i publish the site to.
now when i logged in on my website, on the home page i have a button then directs to Site1, when i click in i encounter an error
"The Resource cannot be found"
Requested URL: /site1/login.aspx
The problem is i didn't create a login page for Site1 because i thought it would be links it's authentication with the login page. but i got the error below
is there anyway i can make this work? please make it the explanation simple or you have tried the solution yourself.
thanks and regards.
Contributor
6420 Points
2527 Posts
Re: ASP.NET 2013 Webforms/MVC and IIS - One Website with multiple web application (Single Login P...
Apr 11, 2017 02:58 AM|Jean Sun|LINK
Hi amendoza,
Based on my understanding, you want to share from authentication between applications.
This is the article on MSDN that talks exactly about this scenario, you can find how to configure the form authentication to make it cross applications.
https://msdn.microsoft.com/en-us/library/eb0zx8fc.aspx
Best Regards,
Jean
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.