Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Data Source Setup Issue
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

L0bst3rGuy
Starting Member

4 Posts

Posted - 05/06/2015 :  18:02:55  Show Profile  Reply with Quote
I'm trying to setup a new data source. I keep getting the error of "Login failed". When I look at the SQL log I can see the following error. Login failed for user 'GenericUser'. Reason: Password did not match that for the login provided. Yet I can use the same login credentials in SSMS and it connects just fine. I'm using a local SQL ID. Any ideas what I am missing?

Regards,

Marcus

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 05/06/2015 :  18:46:28  Show Profile  Visit tkizer's Homepage  Reply with Quote
Are you typing in the password or using copy/paste? Use copy/paste for both the data source and the SSMS connection to make sure they are identical.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

L0bst3rGuy
Starting Member

4 Posts

Posted - 05/06/2015 :  19:03:54  Show Profile  Reply with Quote
Yes. Still comes up with that error. That's why it' so perplexing.
Go to Top of Page

L0bst3rGuy
Starting Member

4 Posts

Posted - 05/06/2015 :  19:08:42  Show Profile  Reply with Quote
I've even gone so far as to change the password. And again I can login with SSMS without incident. Yet when I'm setting up and testing from SSRS and the web interface (http://servername/reports/Pages/DataSource.aspx?ItemPath=%2fMoveOnDMZ_Reporting%2fMoveOnDMZReportDSN) I keep getting login failed when I test the connection. The ID I'm using has db_datareader access. Is that sufficient permissions?
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 05/06/2015 :  19:08:59  Show Profile  Visit tkizer's Homepage  Reply with Quote
Is it a contained database?

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 05/06/2015 :  19:10:54  Show Profile  Visit tkizer's Homepage  Reply with Quote
For the SSMS connection, can the login do a USE DatabaseName and also run a query in that window? The data source likely is specifying a database name, whereas the SSMS connection is not. I suspect a contained database or an orphaned account.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

L0bst3rGuy
Starting Member

4 Posts

Posted - 05/07/2015 :  12:24:34  Show Profile  Reply with Quote
This has been resolved. When I'd get the login error I'd simply type in the password again. Apparently it wasn't updating the information upon submission. So, I checked an alternate option and then went back to check my initial option for username and password. It accepted the credentials finally. Really odd.Thanks for the assist.

Marcus
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000