Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem: redirect to login page only remotely

0 views
Skip to first unread message

esque...@gmail.com

unread,
Jul 7, 2006, 1:53:09 PM7/7/06
to
Hi, i'm having a very weird problem.
I have an application Asp .Net (Framework 1.1) that uses form
authentication.
To deny access to non-authenticated users i use
<authorization>
<deny users="?" />
</authorization>
in the web.config file.

It works ok when the app is deployed on any machine using IIS v5.1, but
when using IIS 6.0 a really weird thing happens.
If you access the application locally everything works fine (Example:
http://localhost/login.aspx)
but if you try to access remotely (http://NameOfServer/login.aspx) and
i put valid login and password, it gets to the page it is supossed to
but immediately returns to the Login screen.
(http://NameOfServer/login.aspx?ReturnUrl=%2fMenu.aspx).

That only happens with IIS 6.0, remotely, and using Microsoft Internet
Explorer. With Mozilla Firefox it doesn't happens.

Does somebody have any idea why?

dkode

unread,
Jul 7, 2006, 2:40:37 PM7/7/06
to
What is the your IIS app running as? windows integrated? basic auth?

Do you have identity impersonate=true in your web.config?

Make sure your local security IIS settings are the same as the remote
IIS security settings for that web app. That sounds like the problem

wangh...@gmail.com

unread,
Jul 29, 2006, 9:56:07 PM7/29/06
to
I am getting exactly the same problem, does anybody have a solution or
walk around?
0 new messages