Hi BettyB,
Quote:
|
quote:but I doubt that using SQL Server Express to work my way thru the beginning ASP.NET book will give me the information to enable me to use true SQL Server 2005.
|
Oh, I completely agree with you. When you want to run the applications in a production environment, it's important to realize how you should configure the servers and database.
But if you feel it's stopping you from making progress with the book, using the Express Edition might be a good way to continue for now. In the mean-time, you can gain more knowledge about configuring SQL Server. That at least doesn't stop you from continuing with the book.
Anyway, you may want to take a look at the second half of this FAQ:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=290
To understand what account you need to add to SQL Server, this might help as well:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=287
I started on an article that explains all these steps in full detail, outlining common .NET 2 scenario's with SQL Server 2000 and 2005. I just haven't found the time to complete it yet....
What I meant with my first question is this: SQL Server understands two authentication mechanisms: SQL Server authentication and Windows Authentication. In the first, you pass in a user name and a password, while in the second you use the account details for the running process (e.g. your own account, or ASPNET or Network Service in most scenario's). The error message you posted (about not being associated with a trusted connection) seems to indicate you try to open a connection with SQL Server authentication (e.g. a user name and a password in the connection) and that SQL Server rejects the connection because it's configured to only allow Trusted connections.
However, according to this article:
http://support.microsoft.com/kb/889615/en-us you may also get that error when "you are trying to connect to a SQL Server database from a Windows account that does not have sufficient permissions to connect to the server.". In that case, the first FAQ I posted might help.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004