Re: SQL2k5 : Login failed for user 'KLEO\ASPNET'
From: Wayne Snyder (wayne.nospam.snyder_at_mariner-usa.com)
Date: 07/06/04
- Next message: CC&JM: "master.dbo.spt_values"
- Previous message: Wayne Snyder: "Re: Applications ,Roles and users"
- In reply to: Mr.KisS: "SQL2k5 : Login failed for user 'KLEO\ASPNET'"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Jul 2004 08:33:33 -0400
try
sp_grantlogin [kleo\apsnt]
go
use databasename
go
sp_grantdbacces [kleo\aspnet]
These are documented in books on line.
-- Wayne Snyder, MCDBA, SQL Server MVP Mariner, Charlotte, NC www.mariner-usa.com (Please respond only to the newsgroups.) I support the Professional Association of SQL Server (PASS) and it's community of SQL Server professionals. www.sqlpass.org "Mr.KisS" <anonymous@discussions.microsoft.com> wrote in message news:271bf01c46338$3ff36290$a401280a@phx.gbl... > Hello all, > > I'm working with Windows XP PRO SP1, ASP.NET v2 (with > Visual Web Dev) and, MS SQL 2005 with a database with > Windows Authentication mode. I've an aspx page which must > send a query to the database. But i have this exception : > > Login failed for user 'KLEO\ASPNET'. > 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 'KLEO\ASPNET'. > > I have put TOTAL CONTROL to the ASPNET User for the > "wwwroot" folder. > > What must i do to resolve this problem? > I dont know how to change the rights of KLEO\ASPNET > for the SQL Server. How to do? I'm under MS SQL 2005 > Express. There isn't an enterprise manager or visual guide. > Have you a command line or something that i could use? > > Regards.
- Next message: CC&JM: "master.dbo.spt_values"
- Previous message: Wayne Snyder: "Re: Applications ,Roles and users"
- In reply to: Mr.KisS: "SQL2k5 : Login failed for user 'KLEO\ASPNET'"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|