asp.net - ReportViewer control in a webpart in SharePoint displays 401 for some reports -
i trying solve issue report viewer control displaying message:
the request failed http status 401: unauthorized.
rather report. message shown in location report displayed. share point parts of page displayed normally.
this occurs in report viewer control on sharepoint 2013 page.
some other reports on other pages show fine. in report server, browsing permissions on these reports same.
a testing environment same configuration working correctly. not find differences in web.config on web server , in rsreportserver.config file on report server.
i http traffic browser, using network tab in ie developer tools , saw remarkable. post requests javascript report server control like:
/reserved.reportviewerwebcontrol.axd?optype=sessionkeepalive&controlid=597f9e1be96e4291b847ce06da66940d
and receive http 500 status, whereas response body 2 bytes:
ok
the report works correctly, issues similar requests, receives http 200 status, ok response body.
on testing environment, thing different, again. report issues 3 requests reportviewerwebcontrol.axd. first http 401 status. next request adds authentication header ntlm token. gets 401 status. third adds ntlm value , gets 200 status.
this looks challenge mechanism , found msdn article error: request failed http status 401: unauthorized when open report in microsoft dynamics crm 4.0 , tested added rsreportserver.config file. did not , key absent in testing environment.
i enabled failedrequest logging more insight in internal server error, return requests reportviewerwebcontrol.axd. logging elaborate, not find pointing cause of error.
under request summary reads
188. view trace warning -module_set_response_error_status modulename managedpipelinehandler notification execute_request_handler httpstatus 500 httpreason internal server error httpsubstatus 0 errorcode operation completed successfully. (0x0) configexceptioninfo
and under authentication & authorization
no. event 60. view trace -auth_start authtypesupported mapclicert 61. view trace -auth_end 64. view trace -auth_start authtypesupported basic 65. view trace -auth_end 68. view trace -auth_start authtypesupported nt 70. view trace -auth_end 91. view trace -filter_auth_complete_start 92. view trace -filter_auth_complete_end
i not understand of means,
errorcode operation completed successfully.
looks contradiction.
does have suggestions on next steps tackle problem?
Comments
Post a Comment