Wrox Programmer Forums
|
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 June 28th, 2006, 01:38 PM
Registered User
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default CH 13 - ASPNET Login failure

When trying to run the ASP.NET Timesheets application I have been having a problem with logging onto the MSSQL server with my application. I assume that when I connect to the server I have to use the 'sa' logon to establish the connection to the server, and then the application will pass the logon and password for the application to gain access to the database. I keep getting "Login failed for user 'LAPTOP/ASPNET'. How do I allow the ASPNET profile access to MSSQL Server? (Assuming this is the problem)

Thanks
 
Old July 4th, 2006, 07:19 AM
Thearon's Avatar
Wrox Author
 
Join Date: Dec 2003
Posts: 396
Thanks: 0
Thanked 8 Times in 8 Posts
Default

Did you have problems in Chapter 8? This chapter dealt with connecting to either SQL Server or Oracle. You should be using the same connection information now that you were using then. If this is not the problem, this please elborate further so I can assist you.

Thearon
 
Old July 12th, 2006, 01:07 PM
Registered User
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I had some problems in Chapter 8 or 10, can't remember. But they had to do with using the password and login parameters in the connection string. I hadn't had problems with the Integrated Security part. So, I changed the string back to integrated security. It probably has to do with my lack of understanding and experience with SQL Server or MSDE administration. I'll work with my IS counterparts on bringing this knowledge up to speed. Thanks, I've really enjoyed the book!

 
Old July 12th, 2006, 01:08 PM
Registered User
 
Join Date: Jun 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I remember now... I had to change something in the ASP.NET config file to allow access as an admin.






Similar Threads
Thread Thread Starter Forum Replies Last Post
error Login failed for user 'HOME\ASPNET' Raif ASP.NET 1.0 and 1.1 Basics 3 December 23rd, 2005 02:09 PM
Login Failure Basia BOOK: ASP.NET Website Programming Problem-Design-Solution 6 November 1st, 2005 08:33 PM
error Login failed for user 'HOME\ASPNET' Raif General .NET 2 July 23rd, 2004 12:49 AM





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