Home All Groups Group Topic Archive Search About

SqlDataSource Login Failed

Author
5 Apr 2006 2:06 PM
Mats Larsson
Hi,
I have put a SqlDataSource component in a ASP.NET 2.0 page and connected a
GridView to it, the GridView shows the columns in the table in design mode,
so the connection works in design mode. The SqlDataSource is conected to
SQL-server on an other computer.But then I try to run the page I get the
message "Login Failed for user domain\computername$". So it tries to login
with "domain\computername$" instead of "domain\username". This is a local app
and I'm logged in so I would like the app to use my usernam, impersonate.
How do I do this?
/Mats

AddThis Social Bookmark Button