473,763 Members | 7,541 Online
Bytes | Software Development & Data Engineering Community
+ 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 1637
There's a couple of things that you can verify. First are you using
Windows Authentication, by setting
<authenticati on 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
"Impersonat e 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.publi c.dotnet.framew ork.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**********@go ogle.com
NNTP-Posting-Date: Wed, 29 Oct 2003 00:00:31 +0000 (UTC)
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.s yr.edu!news.max well.syr.edu!po stnews1.google. com!no
t-for-mailXref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1871 39
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
administator s 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
2213
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 webpage that is restricted, it takes me to the login page fine. When I login though instead of taking me to the page I clicked previous to that, it always takes me to the index file, and when I try to then click on the page I wanted to go to, it...
5
2971
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 post method and either logs the user in our out given the information from the form. but every pages use sessions and cookies, if the user is successfully logged in then the cookies and session values are updated, (as well as MySQL).
1
2146
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 Login!]" in the same position. My question is how to make the username and password textfields disappear and replace with " has Login!]" in the same position? This is the code I have done so far, but it has another problem: Even I first check if...
0
1789
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 must first go to the login.asp page before accessing any other .asp page. I have set up a redirection method so that if a user pastes a URL to an internal .asp page, I store the URL in a session variable, then I direct them to the login page. After...
1
5512
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 register a username and password & then login with those details, but so far I am having only marginal success. I am far from an expert on ASP programming, indeed the code I am using comes from "Sams Teach Yourself E-Commerce Programming with ASP" but it...
2
12692
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 it in Enterprise Manager. That said, I can not see the users associated with the group from Enterprise Manager, but know they can login to the database. The problem is this. When we login via the web we get access to the database without...
2
2242
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 transfer. I modified web.config and properties of Login page from IIS server. And now when ever the execution is redirected to Login.aspx It is having https as its protocol.
1
3071
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 server technology with Microsoft access as my database source. Just as I have introduced myself, I’m a newbie in web application development. I’m currently working on an application that will allow
4
2044
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 'RON\ASPNET' where RON is my machine name. I came across a few posts which suggested adding RON\ASPNET as a User in SQL Server Management Studio Express (under Security--->Logins node). I did so but that didn't resolve the problem.
10
4819
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 Jones, then login as David Smith the Welcome message below will show "Welcome Davey". And it will be Davey's information that is accessible - not David Smith's. So something is amiss but I don't know what. (BTW, this login script is based on the...
0
9563
marktang
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...
0
9997
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
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,...
0
9822
tracyyun
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...
0
8821
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6642
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();...
0
5270
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
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 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.