The ASPNET account is the default user for ASPNET.
Are you trying to connect to the database with Integrated security, or do
you specify a username/pass.
If you try to use integrated security and you have anonymous access turned
on, it will use the ASPNET account to try to connect to SQL Server. Try
specifing a UserName/Password.
IE.
packet size=4096;integ rated security=SSPI;d ata source=dhurley3 ;persist
security info=False;init ial catalog=Northwi nd
or
packet size=4096;user id=sa;data source=dhurley3 ;persist security
info=False;init ial catalog=Northwi nd;password=pas s;
Hope this helps.
"Mandar Patil" <an*******@disc ussions.microso ft.com> wrote in message
news:53******** *************** ***********@mic rosoft.com...
Hi
I am getting following error:
Login failed for user 'machinename\AS PNET'
when tryiong to do the following:
SqlDataAdapter1 .Fill(DataSet11 )
This user is never specified in the database and never mentioned anywhere
in the code. I am creating sqldataadapter with wizard in VB Dot net 2003 Regards