Hi,
I'm trying to connect to a SQL Server 2000 database using a Data Reader in a Web Form page, and I can't manage to log into the database. This is true whether I opt to use Windows NT Integrated Security or a specific username and password when setting the Connection String in the Data Link properties box in VS.NET.
Using either option, my test connection always works; when I try to Build and Browse the page, however, it always fails at the SqlConnection1.Open() line in my code due to failed user login. Oddly, I have no problem logging into SQL Server itself to work on the database using the Query Analyzer or Enterprise Manager.
Does anyone know why this might be happening?
I'm trying to connect to a SQL Server 2000 database using a Data Reader in a Web Form page, and I can't manage to log into the database. This is true whether I opt to use Windows NT Integrated Security or a specific username and password when setting the Connection String in the Data Link properties box in VS.NET.
Using either option, my test connection always works; when I try to Build and Browse the page, however, it always fails at the SqlConnection1.Open() line in my code due to failed user login. Oddly, I have no problem logging into SQL Server itself to work on the database using the Query Analyzer or Enterprise Manager.
Does anyone know why this might be happening?