My Application is in Asp.Net MVC3
coded in C#
, i have a SSRS solution in SQL Server Business Intelligence Developement Studio
in Visual Studio 2008
, I'm calling the SSRS report through my Asp.Net MVC3 application. My application was running fine a couple of days back but suddenly i'm getting an error as follows:
My Error :
The request failed with HTTP status 401: Unauthorized.
My Attempts
My SSRS reports are deployed on my
local server
. I have my credential properly set in the datasource of my SSRS report solution.I tried to add the tag in my web.config
<identity impersonate="true" userName="Domain\username" password="Password" />
I tried adding
IReportServerCredentials reportCredentials = new ReportServerCredentials("MyUserName", "MyPassword", "ServerName");
I ran the Visual Studio as
'Run as Administrator'
.I tried the solution mentioned in this link Creating a key using RegEdit
Update I tried the following solution as well but the same result : Unauthorized error in SSRS
None of the above solutions worked, but when i run the same solution on some other machine than the solutions works well and no error is displayed. Its only when i run the solution from my machine then i get the error The request failed with HTTP status 401: Unauthorized.