Re: ADO.NET help - Filling a DataGrid with contents of a DataSet
- From: Otis Mukinfus <phony@xxxxxxxxxxxxxxxx>
- Date: Sat, 04 Feb 2006 13:22:05 -0600
On 4 Feb 2006 07:22:41 -0800, "thebison"
<alex.sinclair3@xxxxxxxxxxxxxx> wrote:
[snip]
Exception Details: System.Data.SqlClient.SqlException: Cannot open
database requested in login 'SCMS'. Login fails. Login failed for
user 'AL-NOTEPAD\ASPNET'.
To me this is an error with my connection string. My database
instance is actually 'AL-NOTEPAD\VSDOTNET'. However the properties
for sqlConnection1 are pointing to the correct datasource. I do not
know why the application is looking for user 'AL-NOTEPAD\ASPNET'. It
does not exist, to my knowledge.
Check your web folder's user permissions in IIS. It looks to me as
though you have your web site anonymous user set to ASPNET and you
haven't given that user permissions on your database.
Otis Mukinfus
http://www.otismukinfus.com
http://www.tomchilders.com
.
- Follow-Ups:
- References:
- ADO.NET help - Filling a DataGrid with contents of a DataSet
- From: thebison
- ADO.NET help - Filling a DataGrid with contents of a DataSet
- Prev by Date: Re: ADO.NET help - Filling a DataGrid with contents of a DataSet
- Next by Date: Re: ADO.NET help - Filling a DataGrid with contents of a DataSet
- Previous by thread: Re: ADO.NET help - Filling a DataGrid with contents of a DataSet
- Next by thread: Re: ADO.NET help - Filling a DataGrid with contents of a DataSet
- Index(es):
Relevant Pages
|
|