Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The request failed with HTTP status 401: Unauthorized


The request failed with HTTP status 401: Unauthorized

Author
Message
anil702
anil702
SSC-Enthusiastic
SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)

Group: General Forum Members
Points: 110 Visits: 729
Hi,

Server Error in '/xyz.aspx' Application.
--------------------------------------------------------------------------------

The request failed with HTTP status 401: Unauthorized.


Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.


Line 124: parameters.Add(new Microsoft.Reporting.WebForms.ReportParameter("utype", UserType.ToString()));
Line 125: Response.Write(parameters.Count);
Line 126: ReportViewer1.ServerReport.SetParameters(parameters);
Line 127: Response.Write("test" + parameters.Count);
Line 128: ReportViewer1.ProcessingMode = ProcessingMode.Remote;

Above error is triggering while generating from Web server.

web server with IIS 6.0 and ASP.net frame 2.0
Database on other server.
Reports on other Server.
Application is working fine
I can access reports from application with out deploying on IIS Server
After deploying on IIS when i am accessing Reports from application getting above error .

I can access reports
via Reportmanager/Report server.
but through application that to after deploying on IIS this problem persists.

In Report Manager access was given to following users
BUILTIN\Administrators Content Manager
BUILTIN\Users Content Manager
NT AUTHORITY\ANONYMOUS LOGON Content Manager
NT AUTHORITY\NETWORK SERVICE Content Manager
Domain\Administrator Content Manager
Domain\ASPNET Content Manager
Domain\USER(SSRS Serivce) Content Manager
Domain\Reprotserver$(system) Content Manager
Domain\WEBSERVER$(system) Content Manager

On web server
IIS
enable anonymous User ticked
systemname\IUSR_systemname.

Please do the needful to overcome the above issue...

Awaiting for your valuable replies...
Michael Gerholdt
Michael Gerholdt
SSC Rookie
SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)

Group: General Forum Members
Points: 48 Visits: 228
How did you resolve this issue? I'm having a similar problem. Was able to access reports fine until we added a certificate and started to use SSL etc. How it is failing the request with status 401.
Michael Gerholdt
Michael Gerholdt
SSC Rookie
SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)SSC Rookie (48 reputation)

Group: General Forum Members
Points: 48 Visits: 228
I found a fix for our issue in disabling loopback checking via modification of the registry.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search