Re: Need Help with SQL Server Authentication
From: Miha Markic [MVP C#] (miha)
Date: 05/26/04
- Next message: Miha Markic [MVP C#]: "Re: How can I search or compare SQL correctly with DateTime values?"
- Previous message: Miha Markic [MVP C#]: "Re: Speed in Ado.net"
- In reply to: Terry Olsen: "Need Help with SQL Server Authentication"
- Next in thread: Terry Olsen: "Re: Need Help with SQL Server Authentication"
- Reply: Terry Olsen: "Re: Need Help with SQL Server Authentication"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 May 2004 11:08:25 +0200
Hi Terry,
-- Miha Markic [MVP C#] - RightHand .NET consulting & development miha at rthand com www.rthand.com "Terry Olsen" <tolsen64@hotmail.com> wrote in message news:uNbWditQEHA.1340@TK2MSFTNGP12.phx.gbl... > Not sure if this question belongs here or in the aspnet group...but here > goes... > > Ive got a Datagrid bound to a dataset connected to an SQL Server DB on the > local machine. I don't have any trouble creating the database using the SQL > Web Manager from Microsoft. Everything connects up just fine in design mode > using ASP.NET 2003, but when I try to view the web page I get... > > ---- Begin Error Message ------ > > Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. > 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\NETWORK SERVICE'. > > Source Error: > > > Line 76: > Line 77: Private Sub Button1_Click(ByVal sender As System.Object, ByVal > e As System.EventArgs) Handles Button1.Click > Line 78: SqlDataAdapter1.Fill(DsCenters1) > Line 79: DataGrid1.DataBind() > Line 80: End Sub > > > Source File: c:\inetpub\wwwroot\Lessons\HelloWeb\links.aspx.vb Line: 78 > > ---- End Error Message ---- > > I've added "system\ASPNET" to the database users but that didn't help. Can > anyone help me get this working? > > Thanks! > Terry > >
- Next message: Miha Markic [MVP C#]: "Re: How can I search or compare SQL correctly with DateTime values?"
- Previous message: Miha Markic [MVP C#]: "Re: Speed in Ado.net"
- In reply to: Terry Olsen: "Need Help with SQL Server Authentication"
- Next in thread: Terry Olsen: "Re: Need Help with SQL Server Authentication"
- Reply: Terry Olsen: "Re: Need Help with SQL Server Authentication"
- Messages sorted by: [ date ] [ thread ]