Re: Forms Authentication : Works locally but not when hosted in II



On May 7, 7:01 pm, I.W Coetzer <IWCoet...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
I figured it out with the help of a colleague (thanks Sasa)

Because we are already using a forms authentication app on the same server
we had to give this one a new forms auth 'name'

Changed this: <forms name=".ASPXAUTH" loginUrl="

to this: <forms name=".RISAUTH" loginUrl="

solved the problem. !!!



"Alexey Smirnov" wrote:
On May 5, 12:35 pm, I.W Coetzer <IWCoet...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hi

I have a Asp.Net 2.0 app which uses the built in Membership Role Provider
(sql server based) when I run it locally it allows me to create a new
account, log in and access the 'secured' pages.

but when I copy and host this site on a windows 2003 server IIS it does not
go to the 'secured' pages? i can also create an account and log on - but it
jumps back to the home page. the security must be working because when I
enter an incorrect password it does not jump to the home page and the
validator informs me that the user does not exist.

How does one get an asp.net 2.0 app that uses the membership provider etc.
to work in IIS?

I have already set it to anon. access and removed the windows integration
security option. (this will be an internet application - hopefully soon!)

hmm, strange

If I were you, I would check if ASP.NET is properly installed on the
server. Try to reinstall it using aspnet_regiis.exe tool.- Hide quoted text -

- Show quoted text -

Good to hear and thanks for letting us know!

http://support.microsoft.com/kb/313116

.



Relevant Pages

  • Re: Re-Post - "the trust relationship between this workstation and the
    ... "the trust relationship between this workstation and the primary domain ... only problem is adding a new user account on the station. ... Client computer must use STRICTLY the INTERNAL DNS server which can ... Attr: subschemaSubentry ...
    (microsoft.public.windows.server.active_directory)
  • Re: Same question, still no answer!!!
    ... Sounds then like we are all paying for a feature set only large companies ... The "proxy server" pc is actually an older box stuffed ... Expectation #1) keep the ethernet more or less as is. ... The kids account would be ...
    (microsoft.public.windowsxp.basics)
  • Re: Re-Post - "the trust relationship between this workstation and the
    ... "the trust relationship between this workstation and the primary domain ... only problem is adding a new user account on the station. ... This would be on the DNS server 172.20.100.2 ... Attr: subschemaSubentry ...
    (microsoft.public.windows.server.active_directory)
  • Sending email to mydomain.com
    ... server will appear as undeliverable. ... This happens because you are using the POP3 connector... ... an NDR when an account doesn't exist). ... >different from the user account names for the exchange ...
    (microsoft.public.windows.server.sbs)
  • Re: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... administrator account -- we should have no problems at least browsing to ... server. ... | authentication dialog box. ...
    (microsoft.public.inetserver.iis.security)