Re: Login failed for user 'myComputer\ASPNET'
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Fri, 07 Oct 2005 11:14:16 -0500
On 6 Oct 2005 15:14:02 -0700, trouling@xxxxxxxxx wrote:
¤ An aspx page I made with a DataGrid and SQLConnection to my local MS
¤ SQL server shows appropriate DB information when view from within the
¤ .NET designer. However, when selecting: "View in Browser", the
¤ following error appears.
¤
¤ Login failed for user 'myComputer\ASPNET'
¤
¤ Selected failing code is:
¤ SqlDataAdapter1.Fill(AuthorsDS1)
¤
¤ Any ideas where I can set the appropriate authentication properties. Is
¤ it in the setup of MS SQL or IIS?
The answer to this question largely depends upon your configuration. If your ASP.NET app is
configured for Integrated Windows authentication with a local SQL Server database then enabling
impersonation should resolve the problem.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetimpersonation.asp
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- Prev by Date: how can I transfer the login information from classic asp to asp.net, without exposing the password?
- Next by Date: Re: Dataset filling ListBox
- Previous by thread: Re: Login failed for user 'myComputer\ASPNET'
- Next by thread: force target=blank for all anchor tags on page
- Index(es):
Relevant Pages
|