only adminusers can login

V

viki

Hi,
I got stuck with this for more than a week.

I developed a asp.net project in my local machine and deployed using
websetup project. The problem is only the admin users can view the
page, When other try to view it, it pops up for the login , password
and domain. I am using windows authentication with identity
impersonate= true.

Please can anybody help me with this issue...
thanks,
viki
 
S

Scott Allen

Hi viki:

Can we see the <authentication> and <authorization> sections of the
web.config? What do you have for <allow> and <deny>?
 
V

viki

Hi Scott,
Thanks for your resposne,
i have used allow user="*" for authorization, and authentication is windows.

Do u have any idea why it allows only admin users, could u please help me..

Thanks in advance,
Viki
 
S

Scott Allen

HI viki:

This could also be a browser setting. In IE, look at Tools -> Internet
Options -> Security -> Custom Level (for the appropriate zone). Scroll
down to the User Authentication : Logon area and see if the setting is
set to prompt.
 
V

viki

Hi Scott,
I looked into the user authentication of internet exploret it is
automatic logon within intranet zone. Moreover the users can access
the other web applicaiton which has html pages without any logon
prompt. THis is the first asp.net web application we developed for the
intranet site.

please help me

Thanks again,
Viki
 
S

Scott Allen

Hi Viki:

I know these authentication issues can be difficult to troubleshoot.
One technique I've used in the past is to enable auditing and see what
identity is actually trying to login. See the following document,
particularly the references at the end:
http://support.microsoft.com/default.aspx?scid=kb;en-us;300549&sd=tech
Sometimes these problems are hard to track down because it might be
caused by a disabled account, and you can't find this out till you
enable auditing to see what is happening.

You also may want to try removing authentication in both web.config
(and make sure the IIS directory secfurity allows anonymous access).

HTH,
 
V

viki

Hi Scott,
Today i tried for the unanonymous access but i didnot change the
web.config file which has been set to identity impersonate=true. Now
it does not ask for login and password name.

But i want to restrict the users based on the NTFS , when i tried to
check the Integrate windows authentication it asks for the login and
password.How could i restrict the users based on the network login
id..

Thanks for all your help,
Vik
 
S

Scott Allen

Hi Viki:

It should be working for you. Are the users on the same domain as the
web server?
 
V

viki

Hi Scott,
When i set the integrated windows Authentication, identity impersonate
to true in web.config and i have also set in the iis directory access
to everyone group to check whether it works. It allow access only to
admin users not to everyone , it asks for the login and password and
only allows for the admin login and passwords.

Do i need to set anything else other than this...

Thanks
Viki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top