G
Guest
Hi,
I've come from Forms to web pages. (OH DEAR you say) I'm using VS2003.
When I drag a table from Server explorer onto the web form to create a
DataAdapter & Connection, all ok, but when I try to access that data
programmatically, I get:
System.Data.SqlClient.SqlException: Login failed for user 'mycomputer\ASPNET'.
This is a Login issue no doubt, however, I can Logon to the data base when
working with Windows forms using the same Login & can view data with Server
Explorer.
I don't know IIS too well, but before I plunge into that, is there anybody
who knows what would be the cause of this & how to rectify it?
Any ideas would be most appreciated.
Thanks in advance
Ant
I've come from Forms to web pages. (OH DEAR you say) I'm using VS2003.
When I drag a table from Server explorer onto the web form to create a
DataAdapter & Connection, all ok, but when I try to access that data
programmatically, I get:
System.Data.SqlClient.SqlException: Login failed for user 'mycomputer\ASPNET'.
This is a Login issue no doubt, however, I can Logon to the data base when
working with Windows forms using the same Login & can view data with Server
Explorer.
I don't know IIS too well, but before I plunge into that, is there anybody
who knows what would be the cause of this & how to rectify it?
Any ideas would be most appreciated.
Thanks in advance
Ant