473,372 Members | 1,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

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 1613
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.