Solved

401 UNAUTHORIZED

Posted on 2009-05-14
19
1,421 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
  • 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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 400 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 100 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

774 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