SSRS: Log on failure when using Sharepoint List data source


hi everyone,

i'm trying debug datasource customer setup in ssrs 2008. customer using sharepoint list datasource type. getting following error when testing data source:

logon failed. ensure username , password correct.

here settings set datasource type:

-'enable data source' option checked

-'credentials stored securely in report server' option checked

-'use windows credentials when connecting data source' option checked

-'impersonate authenticated users after connection has been made data source' option checked.

-i have url sharepoint site pasted in connection string.                                                                                                                                    i'm able paste url web browser , authenticate using windows nt account provided in data source.  below detailed log statement:

library!reportserver_0-8!1a04!04/18/2012-09:25:02:: e error: throwing microsoft.reportingservices.diagnostics.utilities.logonfailedexception: logon attempt user 'datasource account i'm using' failed., microsoft.reportingservices.diagnostics.utilities.logonfailedexception: log on failed. ensure user name , password correct. ---> system.componentmodel.win32exception: logon failure: unknown user name or bad password     @ microsoft.reportingservices.diagnostics.impersonationcontext.login(string username, string userpwd, string domain)     --- end of inner exception stack trace ---;  processing!reportserver_0-8!1a04!04/18/2012-09:25:02:: e error: throwing microsoft.reportingservices.reportprocessing.reportprocessingexception: , microsoft.reportingservices.reportprocessing.reportprocessingexception: cannot impersonate user data source 'wss_lists'. ---> microsoft.reportingservices.diagnostics.utilities.logonfailedexception: log on failed. ensure user name , password correct. ---> system.componentmodel.win32exception: logon failure: unknown user name or bad password     @ microsoft.reportingservices.diagnostics.impersonationcontext.login(string username, string userpwd, string domain)     --- end of inner exception stack trace ---     @ microsoft.reportingservices.diagnostics.impersonationcontext.login(string username, string userpwd, string domain)     @ microsoft.reportingservices.diagnostics.impersonationcontext..ctor(string username, string password, string domain)     @ microsoft.reportingservices.diagnostics.dataextensionconnectionbase.opendatasourceextensionconnection(iprocessingdatasource datasourceobj, string connectstring, datasourceinfo datasourceinfo, string datasetname)     --- end of inner exception stack trace ---;
receive similar error when apprecaited. thank you

hi migince,

based on scenario, issue may occur if “wss_lists” data source doesn’t support impersonate. when configuring data source properties, can check “impersonate authenticated user after connection has been made data source” option allow delegation of credentials if data source supports impersonation. sql server databases, option sets setuser function.

to avoid issue, can uncheck “impersonate authenticated user after connection has been made data source” option , check “use windows credentials when connecting data source” only.

reference:
data sources properties page (report manager)

if have questions, please feel free let me know.

regards,
mike yin



SQL Server  >  SQL Server Reporting Services, Power View



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........