Hi guys,
I'm a newbie with .net and web development. I'm trying to create a web application using vb.net. I have SQL Server 2000 on my machine. And i connect to it without any username and password. When i tried to insert data into the database using the web application i had to first create a conenction string. So, my connection string is......
Dim strConnectionAsString = _
"Data Source=localhost;Initial Catalog=Northwind;" _
& "Integrated Security=true;"
And i get the error......
Login falied for the user.
Could someone tell me what i did wrong?? I need to get this done by tomorrow and any help would be greatly appreciated.
Thanks,
Vasantha.
(1) change your data source from localhost to local.
(2) Do you have the username ASPNET added to the Northwind database ?
No comments:
Post a Comment