deployment - Error code 40 when running SSRS reports from Internet Explorer (run as administrator) -
we deployed vb.net application on customer's computer contains ssrs reports.
the application connects sql server database in app without problems. installed sql server data tools deploy reports (rdl) , data source (rdl) files report server. these deploy without problems.
in sql server data tools can "preview" reports without problems well.
we run problem when attempting view report internet explorer (run administrator).
we following error:
cannot create connection data source 'datasourcereports' (this name used targetdatasourcefolder) error:40 - not open connection sql server
we same error when app deployed runs reports.
please let know not set correctly on sql server side.
a possibility experiencing double hop authentication problem. it's not clear explanation, sql server database on separate server report server? if so, credentials allow connect report server windows integrated security not pass credentials on sql server database if using ntlm on report server. report server tries use kerberos on network authenticate way of ticketing sql server database, must have configured correctly on network. see article if want use kerberos: http://technet.microsoft.com/en-us/library/ff679930(v=sql.100).aspx.
another (easier) solution open data source on report server , change authentication use stored credentials. make sure credentials use have read permission on sql server database. downside of approach cannot use row-level security in report user unless design report capture user information , set query or filter on dataset restrict data user. if that's not concern, stored credentials easy set , maintain - , you're going have anyway if want use caching, snapshots, or subscriptions. more information on stored credentials, see http://msdn.microsoft.com/en-us/library/ms159736.aspx.
Comments
Post a Comment