?
Solved

401 UNAUTHORIZED

Posted on 2009-05-14
19
Medium Priority
?
1,458 Views
Last Modified: 2013-12-25

Do you know which serves this message "401 UNAUTHORIZED" ?
I try to access a site which ask for credentials but i click cancel instead provindng the userid and password then i get this message "401 UNAUTHORIZED"
I would like to know which servers this page

PS: This is not the standard 401 error page. Please see the attachment



401.JPG
0
Comment
Question by:priyasarav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 3
  • +2
19 Comments
 
LVL 2

Expert Comment

by:lesterpenguinne
ID: 24387313
in IIS it is in the deafult web site properties under custom errors click any of the 401 errors and then click edit and then in the the windows that opens click browse and you will see the related file(s)
0
 

Author Comment

by:priyasarav
ID: 24387695
But those are 401.1, 401.2 ....custom errors ...but this page is different and i dont see them under custom errors
0
 
LVL 2

Expert Comment

by:lesterpenguinne
ID: 24388537
OK you had stated that it is not the default error page. that  would be the place to start. If someone has edited or removed the default one then you will need to get it from another computer or reinstall IIS or build you own
you can check  "..\WINDOWS\Help\iisHelp\common"  to see if the page you are getting is in there it could be and probably is the 401.2 page that you are getting but check them all just in case

good luck
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:priyasarav
ID: 24394653
Like i mentioned earlier none of the 401.1 .or 401.2 ... server that page
I pretty sure that was not modified too
Infact that page is not even a html. when view source code it does not show the HTML elements
0
 
LVL 2

Expert Comment

by:lesterpenguinne
ID: 24398887
Ok I had been asuming that you were working with the default web page and after looking at the image you attached I see that the page you are getting is an aspx page (take a look at the title bar above the adress bar) the page you are getting is shown there (accessdenied.aspx) do a search on the webservers harddrive for that file and you will have it as fore editing it unless you know what you are doing with aspx, I woud be very careful and make a backup before changing it....(I am paranoid that way)


0
 
LVL 2

Expert Comment

by:lesterpenguinne
ID: 24399013
If you can't find it as .aspx try .asp
0
 

Author Comment

by:priyasarav
ID: 24399252
Thats a sharepoint defualt access denied page which is accessdenied.aspx

This error is not handelled by Sharepoint

0
 
LVL 2

Expert Comment

by:lesterpenguinne
ID: 24400020
that is the page you are getting from looking at the image you posted
if you have sharepoint installed on the server as well it may be taking control
which would explain why, even though you may not be using it for that site

as it is just an error message unless you really need the deafult you may be better off just leaving it as it is.
0
 

Author Comment

by:priyasarav
ID: 24412078
The requirement is to customize the Un-Authorized error we get

To reproduce the error try this

1. Try to access any site which ask for windows login
2. DON'T  enter username or password, just enter "Cancel" button
3. You will get the message "401 UNAUTHORIZED"

This page has to be customized

regards
sarav



0
 
LVL 5

Expert Comment

by:random_ru
ID: 24443181
I understand the question is being deleted, but first wanted to give heads up on the title of the screenshot. That just opened up a lot about your site... also, the error message you are getting seems to be an internal use, im getting a correct page.

let me know if you are still having issues with this one :)
401.bmp
0
 
LVL 12

Expert Comment

by:Chad Haney
ID: 24443618
The access denied page you are seeing is typically caused by a connection error between sharepoint and active directory.  This is the default 401 Unauthorized page on the sharepoint.
0
 

Author Comment

by:priyasarav
ID: 24457466
random_ru: Please try with IE and follow exactl steps below
1. Try to access any site which ask for windows login
2. DON'T  enter username or password, just enter "Cancel" button
3. You will get the message "401 UNAUTHORIZED"

dachusa: If you follow the above steps then the stahndard message displayed will be different
Its not the standard error page servered by t he IIS

Check the attachment in my first thread 401.jpg. I want to know how that page is served
0
 
LVL 5

Accepted Solution

by:
random_ru earned 1600 total points
ID: 24459531
Once again, I get the the same message (IE and FF) I posted earlier when I click out of the login window.

"I want to know how that page is served"
 -  Please refer back to my and dachusa's posts above.
ei.jpg
0
 
LVL 17

Assisted Solution

by:GreatGerm
GreatGerm earned 400 total points
ID: 24473063
Please check these steps:

http://support.microsoft.com/kb/907273
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 24502086
Accept (400 points) http:#24473063
Assist (100 points) http:#24443181
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 24502098
Forgot the a

Accept (400 points) http:#a24473063
Assist (100 points) http:#a24443181
0
 

Author Closing Comment

by:priyasarav
ID: 31581570
random_ru was right ... When i try to access the page from public page i get the standard message. if it ry internally (intranet) i get different message ... The issue is resolved since i could control the custom message
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question