HTTP Error 401.1 - Unauthorized

13 posts, 1 answers
  1. Tonci
    Tonci  avatar
    22 posts
    Member since:
    Oct 2007

    Posted 29 Jul 2010 Link to this post

    I installed TeamPluse Standard Edition on my PC with Windows 7 ENT x64.
    It is using SQL2008 server in our LAN.

    When I browse to http://localhost:9898/ I can use it without any problem.

    I woud like to show it to other users in our LAN. So in IIS 7.5 Manager, on TeamPulse web I edit site bindigs. I added:
    - host:teampulse, IP:192.168.123.77, port:80,
    - host:teampulse.sistemi.corp, IP:192.168.123.77, port:80

    Also teampulse host name is added to our local DNS, so outher PS's in LAN can resolve this host name.

    >nslookup teampulse
    Server:  dc.sistemi.corp
    Address:  192.168.123.1

    Name:    teampulse.sistemi.corp
    Address:  192.168.123.77

    I also disabled firewall on my PC where TeamPluse web is installed.
    In IE8 I added http://teampulse/ and http://teampulse.sistemi.corp/ to intranet places to ensure that IE8 is doing windows auth.

    In IE8 when I browse to http://teampulse/ or http://teampulse.sistemi.corp/, auth dialog is displayed and keep asking for my AD username and pwd. I typed AD\usr and pwd correctly but it asking again, serveral times. Finaly browsers shows IIS error:
    -------------

    Server Error in Application "TEAMPULSE"


    Error Summary

    HTTP Error 401.1 - Unauthorized

    You do not have permission to view this directory or page using the credentials that you supplied.

    Detailed Error Information
    Module WindowsAuthenticationModule
    Notification AuthenticateRequest
    Handler StaticFile
    Error Code 0x8009030c
    Requested URL http://teampulse:80/
    Physical Path C:\Program Files (x86)\Telerik\TeamPulse\wwwroot
    Logon Method Not yet determined
    Logon User Not yet determined
     -------------
    Still, when I browse to http://localhost:9898/ I can use it without any problem.

    So, what I need to do to expose TeamPulse web to other users in my LAN on urs like?
    - http://teampulse/ 
    - http://teampulse.sistemi.corp/ 

    Kind regards
    Tonci




  2. Missing user
    Missing user avatar

    Posted 29 Jul 2010 Link to this post

    Hi Tonci ,

    Have you added the users to the TeamPulse User Management site?

    Sincerely yours,
    Jesse Dyck
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Tonci
    Tonci  avatar
    22 posts
    Member since:
    Oct 2007

    Posted 29 Jul 2010 Link to this post

    Yes, 3 users where added using User management.

    User SISTEMI\tonci is used to install TeamPulse. It is Local Admin on Win 7 x64 local comp where TeamPulse is installed. It
    is added to TeamPulse as first user during installation.
    In IE this user is automatic Windows Authenticated when browsing to http://localhost:9898/, all working OK.
    On same comp, same user, same IE when browsing to other url binding from TeamPulse site like http://teampulse/ IE8 asks for pwd.
    Didnt even try with other users or from other comp than local when noticed this problem.

    Can you tell me step by step what I need to do, to add other URL bindings to already installed TeamPulse site, so that other users in local network can access it? Let's assume that this users have been added to TeamPulse using its User management.

    Than I will deactivate this installation, uninstall it, install it again, active it, add users and repeat step by step what I need to do to add other url bindings to TeamPulse site.

    Kind regards
    Tonci
  4. Tonci
    Tonci  avatar
    22 posts
    Member since:
    Oct 2007

    Posted 30 Jul 2010 Link to this post

    Interesting, problem is only related to the local computer where TeamPulse is installed.

    I opened http://teampulse/ without any problem from other two computers in LAN. Useres where added to TeamPulse user management. In IE Windows Authentification worked OK for this two uesrs from their computers.

    Finaly it is not a problem if I can not open http://teampulse/ on computer where TeamPulse site is installed because I still can use http://localhost:9898/.

    Kind regards
    Tonci
  5. Answer
    David Harris
    Admin
    David Harris avatar
    1 posts

    Posted 30 Jul 2010 Link to this post

    Hi Tonci ,

    Glad to hear that you have discovered a working solution. I'm curious to know if your Best Practice Analyzer will work from a client machine in this scenario, however. I suspect you may need to make a change to the web.config file in order for it to work.

    Can you please try running the Best Practice Analyzer on a project and see if it comes back with correct results?

    Regards,
    David Harris
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Tonci
    Tonci  avatar
    22 posts
    Member since:
    Oct 2007

    Posted 31 Jul 2010 Link to this post

    I do not see any problems when using Best Practice Analyzer from other comp. It looks OK.

    Kind regards
    Tonci
  7. RL
    RL avatar
    3 posts
    Member since:
    Mar 2006

    Posted 27 Sep 2010 Link to this post

    I am currently having the same problem. The biggest difference is that I am trying to access the teampulse environment from outside the network. So it has been setup on the network and all can access it inside on the LAN. As soon as I try to access it from a public URL configured to resolve the Teampulse site it keeps popping the AD username and password box and won't load the site. Just gives the dreaded 401 error.

    What suggestions do you have, as it obviously has something to do with fact that I am not logged into the AD Domain at the office, but I am sure this setup should still be able to work? I have opened the 9987 to 9989 ports pointing to the site as well, but that didn't make a difference.
  8. Missing user
    Missing user avatar

    Posted 30 Sep 2010 Link to this post

    Hi RL,

    You should be able to enter your Domain\Username and Password to access the TeamPulse site externally. Let us know if this works out for you.

    Kind regards,
    Jesse Dyck
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. RL
    RL avatar
    3 posts
    Member since:
    Mar 2006

    Posted 05 Oct 2010 Link to this post

    Doesn't work with Domain\Username either. Any other suggestions?

    To confirm, our Outlook Web Access and Microsoft CRM installation works fine from the outside. It is just Teampulse we cannot get to work from the outside on a public URL.
  10. Missing user
    Missing user avatar

    Posted 05 Oct 2010 Link to this post

    Hi RL,

    Can you get to the User Management site? The url should be http://localhost:9897/

    Also do you know if TeamPulse is accessable from within the network?

    All the best,
    Jesse Dyck
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  11. RL
    RL avatar
    3 posts
    Member since:
    Mar 2006

    Posted 05 Oct 2010 Link to this post

    Hi

    As said before, I can access Teampulse from within the network without problems. It has been installed on a server in the network (Win 2008 server) and I can access it on server:9898 and server:9897 (user management). No problems.

    When I go and add a binding, for example, outside.ournetwork.com under port 80 which points to Teampulse it will not work from the outside. It just keeps asking for a username and password, and even if you specify DOMAIN\Username and password as required it doesn't accept it.
  12. Missing user
    Missing user avatar

    Posted 07 Oct 2010 Link to this post

    Hello RL,

    Would you be able to add a similar binding to the User Management site and see if you can access it externally? The UM site uses Anonymous Authenticationso there should no reason you wouldn't be able to access it externally this way.

    Best wishes,
    Jesse Dyck
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  13. Yordan
    Yordan avatar
    1 posts
    Member since:
    Jan 2009

    Posted 15 Feb 2011 Link to this post

    Hi RL,

    We successfully reproduce the problem with HTTP Error 401.1 Unauthorized in our environment. The problem is in the IIS when add a Host name to the site. To fix the issue look at http://support.microsoft.com/kb/896861/en-us.

    Regards,
    Jordan
    the Telerik team

Back to Top