Re: Error Message for Logon
From: Paul Glavich [MVP - ASP.NET] (glav_at_aspalliance.com-NOSPAM)
Date: 05/27/04
- Next message: Henning Krause: "Re: strong name woes"
- Previous message: Henning Krause: "Re: Ngen.exe"
- In reply to: Iain: "Error Message for Logon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 27 May 2004 21:38:30 +1000
Your web site is setup for anonymous logon, (and perhaps impersonation) and
your connection to the database is set to use SQl Integrated Security. This
will use the current user context/token, to logon to the SQL database, which
obviously fails. You either need to impersonate a valid user (either by
explicit use of credentials or using Windows integrated authentication in
IIS, and setting the auth mode to"Windows" in your web.config) and also
create a user account in your SQL database to match that/those users.
Alternatively, have the explicit user credentials specified in your
connection string.
-- - Paul Glavich Microsoft MVP - ASP.NET "Iain" <anonymous@discussions.microsoft.com> wrote in message news:48796CF2-0B01-45B8-86BB-6F562B0920CD@microsoft.com... > Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. > Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. > > Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. > > Source Error: > > An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. > > Stack Trace: > > > [SqlException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.] > System.Data.SqlClient.SqlConnection.Open() +761 > APISoftware.Framework.UI.FrameworkForm.PopulateFromDatabase() +165 > > [Exception: Could not connect to the framework database] > > >
- Next message: Henning Krause: "Re: strong name woes"
- Previous message: Henning Krause: "Re: Ngen.exe"
- In reply to: Iain: "Error Message for Logon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|