Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > BOOK: Beginning VB.NET Databases
|
BOOK: Beginning VB.NET Databases
This is the forum to discuss the Wrox book Beginning VB.NET Databases by Thearon Willis; ISBN: 9780764568008
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning VB.NET Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2005, 10:07 PM
Registered User
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to GivenRandy
Default Login failed for user 'Randy'. Reason: Not associa

I have an account Randy with administrative rights. I am using MSDE, not a full-blown version. I have created databases and accessed using database in earlier chapters. Now, I get the error message:

Login failed for user 'Randy'. Reason: Not associated with a trusted SQL Server connection.

My quick search returned some fixes for the full-blown version, but not mine, unless I am missing something. I ended up dropping that database and re-creating a shell, but same error.

 
Old July 9th, 2005, 06:29 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Randy,

Did you specify Mixed Mode authentication when you installed MSDE? Did you use the Randy login to access the other databases? Also check to ensure that the Randy login has been granted access to the database in question and that it has the rights to create tables, views, and stored procedures.

Thearon
 
Old July 9th, 2005, 11:13 AM
Registered User
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to GivenRandy
Default

I don't recall if I did or not. However, your point about Mixed Mode led me to this:

http://support.microsoft.com/default...n-us;325022#10

Fortunately, I did not have to uninstall and re-install MSDE, but only had to make a registry change.

By the way, fantastic book! I don't use that word often, but this book deserves it. I bought two copies -- one for work and one for home. :)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Login failed for user. Protoman Classic ASP Databases 3 January 13th, 2008 01:23 PM
Login failed for user 'sa'. Reason: Not associated Saurabh Sharma Classic ASP Basics 0 October 23rd, 2007 01:37 AM
login failed for user domain\user babakwx SQL Server 2000 2 May 30th, 2006 12:28 PM
login failed for user nt authority\anonymous login rj1406 Classic ASP Databases 1 October 24th, 2004 09:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.