asp.net mvc - Why would SSRS allow access some times, but not others? -


i have ssrs server set use basic authentication - using username , password. when visit web management interface (https://alpha.myserver.com/reports) username/password dialog, enter username , password set up, , system gives me access. likewise, if visit web services url (https://alpha.myserver.com/reportservice) same login dialog, , system give me access.

now strange embedding report viewer control mvc app. app has configured credentials sent along requests. app uses web service url things (get list of reports, folders, etc.) , 'display' urls displaying reports.

when run application locally on dev machine, configured talk remote ssrs server, works fine. yesterday did first deployment of app test server , getting '401 not authorized' response code when make web services call list reports. don't understand why in same cases credentials work , in other cases don't. have double , triple-checked using same domain, username, , password in each case.

ssrs has many levels of authentication:

  1. account hosting service
  2. your connection string 'data source'
  3. credentials accessing web service
  4. credentials item level level permissions @ folder , item level(datasource, dataset, report, etc.)

if adding yet layer wcf service or else credentials related service not running on domain account expecting. ssrs very picky being in order every level. say. if can run code 1 server or dev box , not guess service or account not same access level machine. can on machine getting restriction error, log on account, try url of report?

i try have data sources use connection string embedded in them. unless security issue want user prompted security, may set security on individual items yet have data source configured automatic authentication. in designer click on datasource , choose 'credentials stored in secure server' perform this.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -