473,734 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS Intermittent access forbidden

Hi all

I have a strange problem with IIS windows pass through authentication. Heres the setup

IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all web directories. This is all on a windows 2003 server. We add the intranet site to the intranet zone so the windows credentials will automatically get passed to IIS

90% of the time it works fine, but Intermittently we get access forbidden - usually having a WINXP PRO client. Remove the intranet web site from zone, reboot client, add intranet back to intranet zone and pass through credentials works fine. Anyone else come across this behaviour

Nov 18 '05 #1
8 5044
Hi Pete,

When the "unable to auto perform windows integrated authenticaiton"
behavior occurs on the XP client again, please test local access to
the site from your IIS6 server with the same sitename(is it
machinename or FQDN or a registered DNS name?) and localhost. If
either of them doesn't prompt for username/password, the integrated
authentication should work OK and the issue is most likely on why
XP's IE no longer sends credential to finish auth with IIS

Then please open the XP box's registry and check the zone setting
under following key:
HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Internet
Settings\ZoneMa p\Domains
See if the site is at there and its http attribute is still set to 1
(Local Intranet Zone). I noticed we can use a domain group policy to
overwrite local IE's security zone setting but not sure if it applies
to your situation. Here is the detailed reference on IE zone registry:

Description of Internet Explorer security zones registry entries

The following article lists some general reasons of IE prompts with
integrated auth:
Internet Explorer May Prompt You for a Password

Looking forward to your findings.
Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
Get Secure! - www.microsoft.com/security

Nov 18 '05 #2

Thanks for your reply. The server hosting the intranet has the following IIS setup

This might be a little odd, but its due to the .Net installer routines only installing to the default site.....

Default Site - Stopped - has a virtual directory (physical in Inetpub) that hosts our intranet
Intranet Web Site - Running - has virtual directory that points to same physical (physical in Inetpub) as abov

To access the intranet we have an internal DNS for www.intranet.info, this points the IIS servers IP Address and the intranet web site (above) has a host header of www.intranet.inf

When the forbidden problem is apparent, it does seem to be passing some form of credentials automatically to IIS, ie. It doesn't prompt for login information. But my guess is that the problem is client side and not IIS related as when the problem is apparent it seems to only effect one or two users, but everyone else is OK. Restart the clients that have the problem etc. and authentication works fine - this is the basis for me believing this is a client issue and not IIS

The next time the problem is apparent, I will check the registry setting etc. as per your reply, but I would appreciate it if you could clarify the following from your reply

Let me see if I understand your last mail. If we get the 'forbidden' problem, you want me to access the intranet site directly from the hosting machine that is running IIS via Internet Explorer or browse directly from IIS (right click browse) or am I missing the point completely

Thanks in advance, Pete

Nov 18 '05 #3
"Let me see if I understand your last mail. If we get the 'forbidden'
problem, you want me to access the intranet site directly from the
hosting machine that is running IIS via Internet Explorer or browse
directly from IIS (right click browse) or am I missing the point

Yes, this is in order to verify if IIS Integrated auth doesn't work
at that time. According to your new statement - "everyone else is OK.
", I believe this is no longer necessary.

A important point in your new thread is you are using host header
like: www.intranet.info. Integrated auth acutally includes two logon
methods - Kerberos and NTLM. When authorization section in request
header is Negotiate (by default), IE and IIS may either choose NTLM
or Kerberos in the end and the one can be affected by host header is
Kerberos. The following KB article contains some related information
of this topic:

Authentication may fail with "401.3" Error if Web site's "Host
Header" differs from server's NetBIOS name

I wonder what the detailed error message is in the XP user's browser?
Is it just a 401.x error or 403.x forbidden? it can be helpful if
you can paste the error for me to take a look. If the error is just
401.x, per the KB states, you can set the NTAuthenticatio nProviders
metabase attribute to enforce IIS using NTLM. Please note using
iisreset command to restart IIS is necessary after this change.

cscript adsutil.vbs set w3svc/NTAuthenticatio nProviders "NTLM"

Let me know if the problem persists.
Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
Get Secure! - www.microsoft.com/security

Nov 18 '05 #4
Hi Pete,

Just want to know if you have got any progress on this issue?

Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
Get Secure! - www.microsoft.com/security

Nov 18 '05 #5
You are welcome. : )

Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
Get Secure! - www.microsoft.com/security

Nov 18 '05 #6
Hi WenJun

Well finally I got the access forbidden error on my XP machine (only XP clients seem to have this intermittent issue)
Shows how intermittent the problem is

First of all the error is a 403 and here is the error message
You don't have permission to access / on this server
Apache/2.0.47 (Unix) Server at www.intranet.info Port 8

I did as you asked and tried to browse to the default page from the hosting machine with my credentials and all seemed OK.
On my client that is experiencing the problem, if I then remove www.intranet.info from trusted intranet sites, close the browser, reopen another instance of IE, navigate to the site and I get the 403 without asking for credentials. Reboot the client and access to the site is OK

Any ideas

Nov 18 '05 #7
Carcked it. Although not quite sure why? It just dawned on me that the access forbidden is comming back from a Unix Apache server not IIS

For some reason our internal DNS lookup for www.intranet.info times out and then hits the internet to resolve the address. Then it hits a valid site address with unix servers. Ping showed the external IP addresses. Why the internal DNS lookkup should time out intermittently I dont know, I need to investigate more. Come to think of it why would rebooting the client resolve the issue sometimes. Very odd

Thanks for your involvement. Off to do some digging
Nov 18 '05 #8
You don't have permission to access / on this server.
Apache/2.0.47 (Unix) Server at www.intranet.info Port 80

Unbelievable the error is from an Apache server and the root cause is
on DNS resolution..
glad to see 'www.intranet.i nfo' is also an Internet site.. :-)

You are always welcome.

Best regards,

WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
Get Secure! - www.microsoft.com/security

Nov 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Layne L via DotNetMonster.com | last post by:
Trying to install a .NET application on a Windows 2003 Server ( .NET v1.1) and for any . aspx file get the following error: 403.1 Forbidden: Execute Access Forbidden The application has worked fine on XP systems and multiple Windows 2000 servers. This is what I have tried so far: -Verified Execute Permissions on both Default Web Site and the application's
by: TC | last post by:
I have an Access database application with a lot of custom row functions written in VBA. In other words, a lot of queries contain calculated fields which use functions defined in the modules. I am now thinking about upgrading the database from Access to SQL Server. If I do, how can I implement the custom row functions? Is Visual Basic integrated with SQL Server just as it is with Access? Or does T-SQL in SQL Server offer the...
by: DotNetter | last post by:
I have two computers. Both computers have Windows 2003 installed as well as Visual Studio.Net 2003 installed. Computer A has active directory set and also has .Net and the webservice called WebserviceTest with a method called Service1 that only returns the string "Hello World". I have enabled Anonymous Access and have a user called ASPNET set up with normal permissions for this user.
by: Lee Chapman | last post by:
Hi, I have a problem where my ASP.NET application occasionally generates a MissingFieldException exception. This unexpectedly happened on my development box, and so I was able to extract some information from the debugger: The field that is "missing" is called 'logger'. Here's it's description taken from ildasm.exe: ..field public static class log4net.ILog logger
by: JerryK | last post by:
Hi, I have an ASP.net page, written in VB.net. In that code I want to access a validator web services that is secured via SSL. I have installed the certificate, via a .pfx file, on the system. I can browse to the service and appear to be getting through However, from my server page I cannot access the web service. The call to the service generates the exception "Request failed with HTTP status 403: Forbidden". I had previously...
by: Edward Low | last post by:
Hi all, When creating a virtual directory in IIS 5.0 win xp Pro with the name like "abc.com", an error HTTP 403.1 Forbidden: Execute Access Forbidden will return when accessing the web page. But, this will work fine if the virtual directory is named in "abc.com.sg" or others. Why it can't be created with the name "xxxxxx.com"?? Thanks & Best Regards, Edward
by: PK9 | last post by:
I am receiving the following error in Visual Studio 2003: "the web server reported the following error when attempting to create or open the web project HTTP/1.1 403 Access Forbidden" I am receiving this error when opening a web project that I created on another machine. I have a development machine on which I created an ASP.NET application. By default, it was created in inetpub/wwwroot. I copied this source code (including the...
by: Dave | last post by:
I am getting an intermittent database error on my asp page. I am using Access 2003 with classic ASP. The error is this: Microsoft JET Database Engine Error 80040e10 No value given for one or more required parameters /subweb/search.asp, line 163 Line 163 is starred below:
by: Mark Sandfox | last post by:
I have a need to allow an extrenal IT department to download 1 specific database. I have treid direct link and webclient methods but both get permission errors. Setting the MIME to handle this does not work. Sorry for repeating the questions, the other string got to long. This type of page is not served. Description: The type of page you have requested is not served because it has been explicitly forbidden.
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.