Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

Thanks in advance,

I am developing Single sign on using asp.net,c#net 4.0 and web services.
In my project i have three applications appl1,appl2 and appl3.

In my each application i have the web.config like this

<membership>
<providers>
<clear>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionstringname="ApplicationServices">
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="false"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
applicationName="/" />



But here i want to create the users for each application with different application id in ASPNET_APPLICATIONS table in database.

Here in web.config file if i change the applicationName tag to appl1,appl2... and then i can create users with separate application ids.

But the problem is i want authenticate the Users with Username and password.If i authenticate users its showing that invalid credentials even i passed correct credentials.

I would be very thankful if anyone give the solution.
I Googled many websites but i am not getting correct solutions.

Thank you,
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900