>Hi,
>I create new database using vs.net and set it as integrated security. It work fine when I query using wizard, but when I run it my .aspx, it return loagin failed. Why?
>
>Again, I have another database created using webmatrix also, it work fine if I use webmatrix to access data, but when I copy the code to vs.net, it return login error.
>
>ANy ideas?
>
>Thank you
Don't forget that ASP .net logs SQL server as ASP_net unless you pass a login as part of the connection string.
Make sure the application has SQL server rights.
Chris