This is a migrated thread and some comments may be shown as answers.

HTTP Error 401.1 - Unauthorized

12 Answers 312 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tonci
Top achievements
Rank 2
Tonci asked on 29 Jul 2010, 10:24 AM

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




12 Answers, 1 is accepted

Sort by
0
Missing User
answered on 29 Jul 2010, 04:48 PM
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
0
Tonci
Top achievements
Rank 2
answered on 30 Jul 2010, 12:06 AM
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
0
Tonci
Top achievements
Rank 2
answered on 30 Jul 2010, 10:46 AM
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
0
Accepted
David Harris
Telerik team
answered on 30 Jul 2010, 03:38 PM
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
0
Tonci
Top achievements
Rank 2
answered on 31 Jul 2010, 12:33 PM
I do not see any problems when using Best Practice Analyzer from other comp. It looks OK.

Kind regards
Tonci
0
RL
Top achievements
Rank 1
answered on 27 Sep 2010, 07:00 PM
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.
0
Missing User
answered on 30 Sep 2010, 04:21 PM
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
0
RL
Top achievements
Rank 1
answered on 05 Oct 2010, 09:20 AM
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.
0
Missing User
answered on 05 Oct 2010, 03:29 PM
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
0
RL
Top achievements
Rank 1
answered on 05 Oct 2010, 03:33 PM
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.
0
Missing User
answered on 07 Oct 2010, 04:18 PM
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
0
Yordan
Top achievements
Rank 1
answered on 15 Feb 2011, 04:10 PM
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

Tags
General Discussions
Asked by
Tonci
Top achievements
Rank 2
Answers by
Missing User
Tonci
Top achievements
Rank 2
David Harris
Telerik team
RL
Top achievements
Rank 1
Yordan
Top achievements
Rank 1
Share this question
or