I am deploying my web application on iis6
. I kept receive this "windows security" pop up to enter user name and password.. I have already disabled anonymous user, and checked integrated windows authentication but it just wont "automatically" login.
What should i do?
I have check the security settings-local intranet zone: "login as automatic logon only in Intranet zone". Also my production server is a standalone server, and hence might not hold AD account and credentials.
For Internet Explorer, you might have to add the server address to the local intranet zone. IE often has a hard time detecting local intranet servers on its own, so you might have to manually add your site to that list. You can do that manually in IE settings or you can use group policies to manage a list of intranet servers within an AD domain. You can view the zone IE has chosen for your site from the menu File/Properties.
For Firefox, you have to tell FF to forward your network credentials to that site. in about:config you have to add the sites to the settings
and
.
http://support.microsoft.com/?id=258063 All you need to know, let me know how it goes.
I would love to rewrite this lovely article and take credit but that's cheating. I have fallen in the hands of this issue myself but this article was a life saver I keep it in my bookmarks under IIS solutions lol.
Update:
Let's get this straight you have I am presuming a windows server 2003/2003 r2 box or xp machine with IIS6.
Before we dig deeper check the following out make sure you have setup a new site in iis6, pointing to a folder in
C:\inetpub\wwwroot\
, if not there pointing toC:\MyOwnFolder
orC:\Program Files\SomeFolder
is fine you will need make sure folders have the following permissions:Source: http://support.microsoft.com/kb/812614
Now you should look into your IIS settings.
How to un-configure Authentication in IIS
Start IIS Manager or open the IIS snap-in.
Expand Server_name, where Server_name is the name of the server, and then expand Web Sites.
In the console tree, right-click the Web site, virtual directory, or file for which you want to configure authentication, and then click Properties.
Click the Directory Security or File Security tab (as appropriate), and then under Anonymous and access control or Authentication and access control, click Edit.
Click to uncheck all options next to the authentication method or methods that you want are currently checked, and then click OK.
Click to check enable anonymous access
Make sure username is set to MACHINENAME\IUSR_MACHINENAME obviously replacing MACHINENAME with the name of your server/machine.
IUSR is a built in account it should automagically authenticate it's self
Source: http://support.microsoft.com/kb/324274 ( this article is the opposite of what I just showed you to do )
Try all this if does not work I will give some further steps, there are a billion and one things you can check.
You should check the files authentication in windows. Ex authenticated users group. There are two authentication that you need to take care of. IIS authentication and the file system access.
Before the application pool credentials kick in, the IUSR_computername account is used to load the configuration for the website. Make sure IUSR_computername account (also known as aspnet account) has read access to the folder where that application is deployed.
Well, I am new to Dotnet I dont know if the solution that worked for me and the above is the same, but anyways here's what I did.
We were facing issues too in an upload utility and whenever the user clicked on "Upload" button, a pop up window kept popping up for asking for credentials(Which never hapened intially) and ultimately led to "401 invalid credentials" error.
You just have to go to the concerned folder/website in the IISNET manager on the server and right click and check the security. Add the users/ groups that should have access to upload and give them full permission if not present already.
Post this change they should be able to access/ upload the file without any credentials prompt.