Re: Single Sign On to ASP.NET application

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Nop, I didn't find anything, as suggested by "Mike Walsh", I have posted the
same question on "microsoft.public.sharepoint.portalserver.development". You
can follow it there.
I will let you know if sombody answers



"karthikg.1981@xxxxxxxxx" wrote:

On May 6, 1:10 am, Dene <D...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I’m recently assigned to create a link on our sharepoint site which opens up
an ASP.NET 2.0 web application. Both our Sharepoint site and the ASP.NET 2..0
website use forms Authentication with membership provider. Both of them work
perfectly independently. But I have a problem in implementing the single sign
on idea on the ASP.NET 2.0 web site(launched from sharepoint site). To make
myself clear, once the user loges in to the sharepoint site, he should be
able to click on the link on the right side to open up the ASP.NET 2.0
website with out being asked to login again.
In order to implement SSO across applications, I did the following

On the WebConfig file of the ASP.NET 2.0 website
<authentication mode="Forms">
<forms loginUrl="../_layouts/login.aspx" name=".ASPXFORMSAUTH"
protection="All" path="/" timeout="30" enableCrossAppRedirects="true" />
</authentication>
<machineKey validationKey="8AF24D55A9159403D3243087AC76541A7BACD8007EF711D3"
decryptionKey="A4A8A9FB2568E14C726182836C8744E4CBB84F4F1E4B9AD0"
validation="SHA1" />

On the WebConfig file for the share point site

<authentication mode="Forms">
<forms loginUrl="/_layouts/login.aspx" name=".ASPXFORMSAUTH"
protection="All" path="/" timeout="30" enableCrossAppRedirects="true" />
</authentication>
<machineKey validationKey="8AF24D55A9159403D3243087AC76541A7BACD8007EF711D3"
decryptionKey="A4A8A9FB2568E14C726182836C8744E4CBB84F4F1E4B9AD0"
validation="SHA1" />
By doing this, I managed to make the ASP.NET 2.0 web app to use the
sharepoint login page, but once I key in the username and password, it
returns me back to the same login page.
Is there anything that I missed? Can somebody help on this?

For your Information
1)I have created the virtual directory for my asp.net 2.0 application under
the sharepoint application in the IIS
2)I manage to make it work for two non sharepoint ASP.NET 2.0 applications

Hi,

I am also facing same problem.did u find out the issue?could you send
me how to proceed??

Thanks
Karthik

.



Relevant Pages

  • RE: companyweb vs. our external website...
    ... http://companyweb they get your public website that is hosted on your SBS ... server instead of the sharepoint site that is created by the SBS ... recreate the host header for companyweb on that site. ...
    (microsoft.public.windows.server.sbs)
  • Re: Single Sign On to ASP.NET application
    ... website use forms Authentication with membership provider. ... on idea on the ASP.NET 2.0 web site(launched from sharepoint site). ... website with out being asked to login again. ... On the WebConfig file of the ASP.NET 2.0 website ...
    (microsoft.public.sharepoint.windowsservices)
  • problems programmatically creating website on IIS6
    ... The problem is somewhere in the code that creates the original website - ... manually), then convert it to a Sharepoint site, it works fine. ... The site created with IISWeb.vbs has an entry that looks like ... I have a hunch this is the cause of my authentication problem because after ...
    (microsoft.public.inetserver.iis)
  • Re: Single Sign On to ASP.NET application
    ... Both our Sharepoint site and the ASP.NET ... website use forms Authentication with membership provider. ... website with out being asked to login again. ... On the WebConfig file of the ASP.NET 2.0 website ...
    (microsoft.public.sharepoint.windowsservices)
  • WSS 3.0 Friendly Intranet
    ... Open your web browser and verify that http://intranet opens your new ... I stopped and started the website and now have the following message when I ... If I stop the original Sharepoint site...
    (microsoft.public.windows.server.sbs)