469,329 Members | 1,503 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,329 developers. It's quick & easy.

Asp.net and IIS Login Problem

Hi.

I've deployed a web application on a desktop computer running W2K and
IIS. I'm using the desktop as a server.

When I try to access the site, either from my development computer or
if I log in to a remote machine, the site works fine for me and I'm
able to access the aspx pages with no problems. When others try to
access the site, it asks them for there login ID, password and domain.

If I have the user click cancel on the log in screen it will show the
aspx page. But as soon as they click a button, such as one I have
labeled SUBMIT, the login screen pops up again.

My login id is a member of the administrators group. If I add the
login id of one of my folks who was having the problem above to the
administators group, everything works fine. Problem is, I don't want
everyone to have administator rights on the server and I don't want my
users to have to input their credentials to my aspx pages.

I've searched IIS documentation and the web and tried everything I can
thing of to rememdy this problem. Any help is greatly appreciated.
Thanks.

George
Nov 17 '05 #1
1 1468
There's a couple of things that you can verify. First are you using
Windows Authentication, by setting
<authentication mode= "Windows"/> in the machine.config? If so, are you
also adding the <identity impersonation= "true" /> flag?

If you are running Win2K with SP4, you might also need to grant the aspnet
account the privilege to impersonate a client. You do this by opening the
Administrative Tools: click on "Local Policies" then select "User Rights
Assignment". On the right-hand side, there should be a list which includes
"Impersonate a client after authentication" and you should add your ASPNET
account to this list.

Hope this helps.

Chris Moore [MSFT]
--------------------
From: gr********@aol.com (George)
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Asp.net and IIS Login Problem
Date: 28 Oct 2003 16:00:31 -0800
Organization: http://groups.google.com
Lines: 25
Message-ID: <30**************************@posting.google.com >
NNTP-Posting-Host: 208.24.179.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067385631 5517 127.0.0.1 (29 Oct 2003 00:00:31 GMT)X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Wed, 29 Oct 2003 00:00:31 +0000 (UTC)
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnew s1.google.com!no
t-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:187139
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Hi.

I've deployed a web application on a desktop computer running W2K and
IIS. I'm using the desktop as a server.

When I try to access the site, either from my development computer or
if I log in to a remote machine, the site works fine for me and I'm
able to access the aspx pages with no problems. When others try to
access the site, it asks them for there login ID, password and domain.

If I have the user click cancel on the log in screen it will show the
aspx page. But as soon as they click a button, such as one I have
labeled SUBMIT, the login screen pops up again.

My login id is a member of the administrators group. If I add the
login id of one of my folks who was having the problem above to the
administators group, everything works fine. Problem is, I don't want
everyone to have administator rights on the server and I don't want my
users to have to input their credentials to my aspx pages.

I've searched IIS documentation and the web and tried everything I can
thing of to rememdy this problem. Any help is greatly appreciated.
Thanks.

George


Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Sniffer-Dog | last post: by
5 posts views Thread by Simon | last post: by
1 post views Thread by John Davis | last post: by
1 post views Thread by Wayne Smith | last post: by
2 posts views Thread by Tom Loach | last post: by
1 post views Thread by xcelmind | last post: by
4 posts views Thread by RN1 | last post: by
10 posts views Thread by DavidPr | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.