Monday, February 13, 2012

401 Error

Eexisting dev site Win Server 2003 with IIS, SQL Server 2K (SP-3), RS (SP-1)
running for about 2 months now gives the following error ' HTTP status 401:
Unauthorized' when accessing via http://dev server/reports.
I connected to the dev server via Remote Desktop and opened IIS Manager. I
selected Reports and 'browsed' .. received the same 401 errror. Selected
ReportServer and browsed .. teh file opend and I was able to navigate to the
reports and the opened and ran fine.
I double checked the Win 2003 folder permissions for both ReportManager and
ReportManager and they exist.
I am assuming the problem is isolated to the Reports site in IIS' Is that
a vailid assumption'
What am I missing here '
--
Thanks in advance
GHHi,
Could you paste the content of your IIS log files here?
\Windows\system32\LogFiles\W3SVC1 We should be able to find out which
type the 401 authentication failed error is from the log.
Also you can try using AuthDiag to scan the server/virtual directory
to find which the problematic permission set is.
Authentication and Access Control Diagnostics 1.0 (AuthDiag)
http://www.microsoft.com/downloads/details.aspx?FamilyId=E90FE777-4A21
-4066-BD22-B931F7572E9A&displaylang=en
The following functions are useful:
1) Check Authentication
2) Check Permissions
3) User Rights or Privileges
4) Server Permissions
Look forward to your update.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security|||This 401 problem came up yesterday ... then it started working .. no changes
other than revised reports being deployed (we were reviewing the reports via
ReportServer) ... today we are getting the 401 error again
When I try to access the Reports and the ReportServer sites from the server
(via Remote Desktop) I get 401.2 errors.
When trying to access from my desktop I get a 401 error when attempting to
access Reports, but I am able to access ReportServer and open the reports.
The results of AuthDiag:
1.) Path:W3SVC/1/ROOT AuthType:Anonymous --Server's response: HTTP/1.1 302
Found
2.) Path:W3SVC/1/ROOT AuthType:NTLM - Server's response: HTTP/1.1 302 Found
3.) Path:W3SVC/1/ROOT/aspnet_client AuthType:Anonymous --Server's response:
HTTP/1.1 403 Forbidden
4.) Path:W3SVC/1/ROOT/Reports AuthType:NTLM --Server's response: HTTP/1.1
401 Unauthorized
5.) Path:W3SVC/1/ROOT/ReportServer AuthType:NTLM --Server's response:
HTTP/1.1 401 Unauthorized
LOG FILE: Windows\system32\LogFiles\W3SVC1:
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2004-12-16 16:53:43
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2004-12-16 16:53:43 192.168.1.247 OPTIONS / - 80 - 192.168.1.77
Microsoft-WebDAV-MiniRedir/5.1.2600 200 0 0
2004-12-16 16:53:43 192.168.1.247 PROPFIND /_vti_pvt - 80 - 192.168.1.77
Microsoft-WebDAV-MiniRedir/5.1.2600 404 0 0
2004-12-16 16:53:43 192.168.1.247 PROPFIND /_vti_pvt - 80 - 192.168.1.77
Microsoft-WebDAV-MiniRedir/5.1.2600 404 0 0
2004-12-16 16:53:43 192.168.1.247 PROPFIND /_vti_pvt - 80 - 192.168.1.77
Microsoft-WebDAV-MiniRedir/5.1.2600 404 0 0
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2004-12-16 17:58:59
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2004-12-16 17:58:59 192.168.1.247 GET /Reports - 80 - 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:58:59 192.168.1.247 GET /Reports - 80 PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
301 0 0
2004-12-16 17:58:59 192.168.1.247 GET /Reports/ - 80 - 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:59:03 192.168.1.247 GET /Reports/Home.aspx - 80 PMI\Eugeneh
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
302 0 0
2004-12-16 17:59:03 192.168.1.247 GET /Reports/Pages/Folder.aspx - 80 -
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:59:11 192.168.1.247 GET /Reports/Pages/Folder.aspx - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
500 0 0
2004-12-16 17:59:11 192.168.1.247 GET /Reports/js/ReportingServices.js - 80
- 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:59:11 192.168.1.247 GET /Reports/js/ReportingServices.js - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2004-12-16 17:59:11 192.168.1.247 GET /Reports/styles/ReportingServices.css
- 80 - 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:59:11 192.168.1.247 GET /Reports/images/blank.gif - 80 -
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:59:11 192.168.1.247 GET /Reports/images/48error.jpg - 80 -
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 17:59:11 192.168.1.247 GET /Reports/styles/ReportingServices.css
- 80 PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2004-12-16 17:59:11 192.168.1.247 GET /Reports/images/blank.gif - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2004-12-16 17:59:11 192.168.1.247 GET /Reports/images/48error.jpg - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
200 0 0
2004-12-16 18:00:23 192.168.1.247 GET /ReportS - 80 - 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /ReportS - 80 PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
301 0 0
2004-12-16 18:00:23 192.168.1.247 GET /ReportS/ - 80 - 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /ReportS/Home.aspx - 80 PMI\Eugeneh
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
302 0 0
2004-12-16 18:00:23 192.168.1.247 GET /ReportS/Pages/Folder.aspx - 80 -
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /ReportS/Pages/Folder.aspx - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
500 0 0
2004-12-16 18:00:23 192.168.1.247 GET /Reports/js/ReportingServices.js - 80
- 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /Reports/js/ReportingServices.js - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
304 0 0
2004-12-16 18:00:23 192.168.1.247 GET /Reports/styles/ReportingServices.css
- 80 - 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /Reports/images/blank.gif - 80 -
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /Reports/images/48error.jpg - 80 -
192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
401 2 2148074254
2004-12-16 18:00:23 192.168.1.247 GET /Reports/styles/ReportingServices.css
- 80 PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
304 0 0
2004-12-16 18:00:23 192.168.1.247 GET /Reports/images/48error.jpg - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
304 0 0
2004-12-16 18:00:23 192.168.1.247 GET /Reports/images/blank.gif - 80
PMI\Eugeneh 192.168.1.97
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322)
304 0 0
""WenJun Zhang[msft]"" wrote:
> Hi,
> Could you paste the content of your IIS log files here?
> \Windows\system32\LogFiles\W3SVC1 We should be able to find out which
> type the 401 authentication failed error is from the log.
> Also you can try using AuthDiag to scan the server/virtual directory
> to find which the problematic permission set is.
> Authentication and Access Control Diagnostics 1.0 (AuthDiag)
> http://www.microsoft.com/downloads/details.aspx?FamilyId=E90FE777-4A21
> -4066-BD22-B931F7572E9A&displaylang=en
> The following functions are useful:
> 1) Check Authentication
> 2) Check Permissions
> 3) User Rights or Privileges
> 4) Server Permissions
> Look forward to your update.
> Thanks.
> Best regards,
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>|||From the log, I see anonymous access met 401.2 error and
authentication(possible Windows integrated auth) with PMI\Eugeneh
account secceeded.
This means the problem is most likely anonymous access hasn't been
enabled on the /Reports virtual directory. You can enable it in
site's properties->directory security->anonymous access
authentication control and then test again.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security|||Great call!!
It is working ...
Thanks
""WenJun Zhang[msft]"" wrote:
> From the log, I see anonymous access met 401.2 error and
> authentication(possible Windows integrated auth) with PMI\Eugeneh
> account secceeded.
> This means the problem is most likely anonymous access hasn't been
> enabled on the /Reports virtual directory. You can enable it in
> site's properties->directory security->anonymous access
> authentication control and then test again.
> Thanks.
> Best regards,
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>|||You are welcome.
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security

No comments:

Post a Comment