473,473 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1621
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Sniffer-Dog | last post by:
Hi I just wondered if anyone can spot anything wrong with the following? I have now added the session_start(); as the first command in the code to all the pages needing it. When I click on a...
5
by: Simon | last post by:
Hi, I have a Login.php page that logs the user in and out. I has two forms within the page, (depending on what we are trying to do), either one to log in or out. The form calls itself using a...
1
by: John Davis | last post by:
I put a little login (username and password textfields) in a web page, and once the user able to login, I want the username and password textfields will disappear, and replace with text " has...
0
by: Mike | last post by:
I can not figure out what is going on here. I hope somebody can please help!!! I've got an intranet ASP3 application running on a Win2k server. This application requires a login, so the user...
1
by: Wayne Smith | last post by:
Applies to: Microsoft FrontPage 2000, Microsoft Access 2000, IIS 5.0 Operating System: Microsoft Windows 2000 Professional I am trying to protect a portion of a web site by allowing users to...
2
by: Tom Loach | last post by:
Our system administrator set up an NT server group in order to allow our users to login to our application via https to our sql server. The group appears as a User in SQL Server when you look at...
2
by: Rujuta Gandhi | last post by:
Hi All, I am facing a very crucial problem. Im developing a web application using .net studio 2005(beta). I want my Login.aspx page to be secured(https) for encrypted login information...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
4
by: RN1 | last post by:
I am working on WinXP Pro SP3, .NET 2.0 & SQL Server 2005 (Windows Authentication). When I run a ASPX page that connects to SQL Server, the following error gets generated: Login failed for user...
10
by: DavidPr | last post by:
When I logout as one user and log in under a different user, it opens with the last user's information. User 1 - Unsername: Davey Jones User 2 - Unsername: David Smith I log out from Davey...
0
Oralloy
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,...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
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...

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.