PC Review


Reply
Thread Tools Rate Thread

SqlDataSource Login Failed

 
 
=?Utf-8?B?TWF0cyBMYXJzc29u?=
Guest
Posts: n/a
 
      5th Apr 2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open user default database. Login failed. Login failed for user 'HEMPC\ASPNET' Tony Johansson Microsoft ASP .NET 3 2nd Jan 2010 05:09 PM
Login Completely Blocked w/User Profile Service Failed the Login THNKIT Windows Vista Administration 5 10th Jul 2008 07:59 AM
Cannot open database requested in login 'HumanResources'. Login failed for user 'companyDomain\BOSIIS$'. Homer Microsoft ASP .NET 3 25th Sep 2007 09:45 PM
Login Failed: Error 18456: Unable to login to run SP on local serv =?Utf-8?B?Z2FyaWJhbGRp?= Microsoft ASP .NET 2 25th Feb 2005 10:17 PM
Cannot open database requested in login ''. Login fails. Login failed for user ''. Nevena Microsoft ADO .NET 1 16th Apr 2004 07:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.