[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Forms authentication log in failure

Posted on 2008-11-10
2
Medium Priority
?
281 Views
Last Modified: 2013-11-26
I have visual studio 2008 and using 3.5 sp1.

Also, I have windows web server edition 2008 and sql server 2008 web edition.

If I use windows authentication, it works fine:

    <authentication mode="Windows" />
      <identity impersonate="true" />
      <customErrors mode="Off"/>

But once I switch to forms authentication:

      <authentication mode="Forms">
      <forms cookieless="UseCookies" defaultUrl="~/Default.aspx"
            domain="" enableCrossAppRedirects="false"
            loginUrl="~/Default.aspx" name=".ASPXAUTH"
            path="/" protection="All" requireSSL="false"
            slidingExpiration="true" timeout="30" />
        </authentication>
      <identity impersonate="false" />

Even if only a simple one:
      <authentication mode="Forms">
            <forms name=".ASPXAUTH" loginUrl="~/Default.aspx" protection="All" timeout="999999"/>
        </authentication>
      <identity impersonate="false" />

It errors...
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

What can I do to get forms authentication to work?

thanks.
0
Comment
Question by:Starr Duskk
2 Comments
 
LVL 16

Expert Comment

by:Gyanendra Singh
ID: 22931183
are you using and database related stuff... if yes please paste your connection string
0
 
LVL 2

Accepted Solution

by:
Starr Duskk earned 0 total points
ID: 22934360
I needed:
        <identity impersonate="true" />
 
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month17 days, 20 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question