Solved

401 error

Posted on 2013-06-28
11
741 Views
Last Modified: 2013-07-06
Users connecting to the office LAN by VPN are getting a 401 error when they try to log in to CRM 2011. Local users login successfully.  This problem has only been occurring for a week having been working fine until then. I am not aware that anything has changed. Previously remote users would open the CRM url and domain login credentials were requested. Local users log in to CRM automatically as the current windows user.

The error in the IIS log is 401 5

IIS is version 7 on Server 2008

Suggestions please?....

Thanks,
Jo
0
Comment
Question by:jostick
  • 5
  • 2
  • 2
  • +1
11 Comments
 
LVL 5

Expert Comment

by:truinx
ID: 39283974
In a given change, there is equivalent change. The question is what changed?

Try to ask the security guy?

Do you have any logs that can help EE people assist you?
At first glance, you seem to have an auto-rejection connection problem.
0
 

Author Comment

by:jostick
ID: 39283985
from IIS:

GET /default.aspx +OnBeginRequest:06/28/2013-10:17:00.572+LogEntries:0+SqlCalls:0+SqlCallsMs:0+GC:2+OnEndRequest:10:17:00.572 80 - 192.168.64.71 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.1;+Trident/6.0) 401 5 0 78

The problem is not browser dependant. It is just on remote PCs that require user to login to website. This is also for users that are logged into their remote PC using cached domain credentials that would work locally.
0
 
LVL 5

Expert Comment

by:truinx
ID: 39283999
What happens if the user use IE?
0
 
LVL 11

Expert Comment

by:b_levitt
ID: 39284095
I would guess this is an IE zoning problem.  When on the internal network, the site is correctly being detected in the local intranet zone, but while connecting via vpn it's being detected as an Internet site.  IIRC, IE only pushes domain credentials if a site is in the intranet zone.  You can start by manually adding the site to the intranet zone and see if that fixes that one computer.  If this is the issue, then you can start looking at it globally.  When we have problems like this, it's typically a proxy configuration issue.  Either a proxy was not configured or the domain was not included in the proxy bypass list (which automatically adds the site to the local intranet zone: http://msdn.microsoft.com/en-us/library/bb250483%28v=vs.85%29.aspx.

There are other issues, such as lack of connectivity to the domain controller, but the zoning and the proxy config is where I'd start.  Do internal and VPN users access the site in the same manner (same URL?).
0
 
LVL 11

Expert Comment

by:Sanjay Santoki
ID: 39286511
Hello,

As far as CRM is working fine locally there should not be any major issue. Make sure that the DNS record is pointing appropriate IP address while accessing website through VPN.

Also, try accessing using with alternate web browser.

Regards,
Sanjay Santoki
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:jostick
ID: 39289312
Sorry, misinformation. Problem occurs on some PCs only and is with IE not Firefox. Possibly it is IE9 problem. Site is local intranet zone
0
 

Author Comment

by:jostick
ID: 39289316
Login to other local web servers (e.g. SharePoint) is OK.
0
 
LVL 11

Expert Comment

by:Sanjay Santoki
ID: 39289717
Hello,

It could be browser specific issue. You can compare browser setting between the computers where it is working.

Regards,
Sanjay Santoki
0
 

Accepted Solution

by:
jostick earned 0 total points
ID: 39289805
The problem is to do with Kerberos and IE. I have resolved it by deselecting IE option to use windows autentication
0
 
LVL 11

Expert Comment

by:b_levitt
ID: 39290016
If kerberos is the problem, you could configure the server to use NTLM instead.  I see this all the time when sites are upgraded from windows 2003 to windows 2008, but I'm surprised it suddenly happened here.
0
 

Author Closing Comment

by:jostick
ID: 39303671
provides a workaround but does not resolve root cause
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
401 - Error 6 33
Hide vba in gp 7 80
Link SQL table to Webpage 9 51
PHP 7 with IIs and SQL Server Windows 2008 Server failed to connect 8 52
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now