Data Access problem in ASP.NET webform
Posted on 2004-10-13
I was working on an inventory system as a windows application, now I need to redo it as a web application. I started a new ASP.NET web application, put my logo, login/pass labels, a password-style textbox for password and a dropdownlist for users. I dragged the SQLDataAdapter down and configured it with a select statement, then generated a dataset from it. I use no password/login for the database. This worked for a windows application, but when I try and run this program I get:
Server Error in '/OEL2' Application
Login failed for user '(null)' Reason: Not associated with a trusted SQL Server connection
How do I fix this? I'm going through the book MCAD/MCSD Developing Web Applications w/ MS VB.NET and VC#.NET, but I don't see anything about this error.
PS - I'm going to assign good points to this one because my whole project is at a standstill until I can at the very least begin to get functional Data access