Background:
I deployed reporting services in a sharepoint integrated mode, installed add in and configured reporting services in MOSS, everything is done fine, I am using NTLM authentication, so I replaced the RSWindowsNegotiate with RSWindowsNTLM in the rsreportserver.config
file and stepped out from the problem in authorization in Manage Integration Settings part, I faced an error with Grant Database Access and also stepped out from by using some lines of code that grant permission to the reporting services service account to sail through all the web application in my sharepoint.
Problem:
When I added the report viewer web part and went to browse the site to add a report stored in a document library in my site I got the following error:
The request failed with HTTP status 401 : unauthorised