Hello Jason,
From your description, you've developed and hosted an ASP.NET webservice on
a windows 2003 server machine and the webservice is secured through
intergrated windows authentication in IIS. When calling the webservice, you
found it always return 403 error if you use the DNS name but worked well if
use the NetBios machine name to visit it, correct? if anything I missed,
please feel free to let me know.
As for the webservice function call, are you test it on some remote client
machines whch are using windows 2000 or later(xp or 2003) operating system?
If this is the case, based on my experience, it is likely due to the client
machine failed to establish kerberos authentication with the server
machine. When the client machine establish windows authentication with
server, if both the client and server is windows 2000 or later operating
system, they'll use kerberos authentication protocol. And kerberos
authentication protocol require the servername (in the url) been registered
with a certain service principal name in KDC(mostly is the DC in wnidows
domain). For your case, it is possible that the DNS name you used hasn't be
registered with your server's servername in DC.
Here is a knowledge base article describes the problem, you can have a look
to see whether it matches your case:
#Authentication may fail with "401.3" Error if Web site's "Host Header"
differs from server's NetBIOS name
http://support.microsoft.com/?id=294382
Also, I think this is a typical IIS specific issue. To further isolate it,
you can create an ASP.NET page or normal html page(in the webservice's IIS
virutal dierctory) and visit it from the same client machine to see whether
you meet the same behavior. Another means is to disable kerberos
authentication and force the IIS site or virutal diretory to use NTLM for
widows authentication only. If this works, we can confirm that the problem
did be caused by kerberos authentication. The below kb article introduce
how to change the IIS to use NTLM or both Kerberos and NTLM as windows
authentication protocol:
#How to configure IIS to support both the Kerberos protocol and the NTLM
protocol for network authentication
http://support.microsoft.com/kb/215383/en-us
Hope this helps. Please feel free to let me know if you got any further
progress or need any further assistance.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.