Home All Groups Group Topic Archive Search About

Windows Security pops up when executing javascript in an asp.net p

Author
15 Sep 2005 10:33 AM
Lumen
Hello,

I've got a really strange problem; this is the case.
I've got a web application that uses windows authentication, other users are
not welcome. In IIS I've checked Windows Authenticity and unchecked anonymous
acces.
When users want to enter the site, the windows dialog popsup as expected and
they log in with their credentials. The site starts, they can browse through
some pages. At a certain moment a user opens the 'new meeting' page for
entering a new meeting. Suddenly Windows security pops up and asks to log in.

When the user gives his/hers credentials, the box stays on the screen. Which
means that the credentials given are not correct. When the users clicks the
dialog window away, by clicking the 'cross' or hit 'Cancel', the new meeting
page is displayed and the user can fill in information.
The page contains required field validators that are triggered when the
users hit's 'Save'. But when you have ignored the windows dialog box which
popped up, the postback is immedialty executed resulting in an error because
unvalid date is trying to get in.

In other words, the required field validators are all ignored.
When you supply credentials of a domain admin, the problem does not occur.

Why are the javascript functions which are created by the required field
validator controls not executed?

If someone has some tips, this problem is really annoying me...

Author
15 Sep 2005 12:08 PM
Dominick Baier [DevelopMentor]
Hello Lumen,

check the NTFS ACLs of the script - it is located at /aspnet_client/version
in the root of your site. All users need read access to it.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

Show quoteHide quote
> Hello,
>
> I've got a really strange problem; this is the case.
> I've got a web application that uses windows authentication, other
> users are
> not welcome. In IIS I've checked Windows Authenticity and unchecked
> anonymous
> acces.
> When users want to enter the site, the windows dialog popsup as
> expected and
> they log in with their credentials. The site starts, they can browse
> through
> some pages. At a certain moment a user opens the 'new meeting' page
> for
> entering a new meeting. Suddenly Windows security pops up and asks to
> log in.
> When the user gives his/hers credentials, the box stays on the screen.
> Which
> means that the credentials given are not correct. When the users
> clicks the
> dialog window away, by clicking the 'cross' or hit 'Cancel', the new
> meeting
> page is displayed and the user can fill in information.
> The page contains required field validators that are triggered when
> the
> users hit's 'Save'. But when you have ignored the windows dialog box
> which
> popped up, the postback is immedialty executed resulting in an error
> because
> unvalid date is trying to get in.
> In other words, the required field validators are all ignored. When
> you supply credentials of a domain admin, the problem does not occur.
>
> Why are the javascript functions which are created by the required
> field validator controls not executed?
>
> If someone has some tips, this problem is really annoying me...
>
Author
15 Sep 2005 12:41 PM
Lumen
Hey,
Thank you so much for this !!!!!!!!!!!!!!!!!!!!!!!!!!!
Really to pull your hair out :-)

Regards


Show quoteHide quote
"Dominick Baier [DevelopMentor]" wrote:

> Hello Lumen,
>
> check the NTFS ACLs of the script - it is located at /aspnet_client/version
> in the root of your site. All users need read access to it.
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
> > Hello,
> >
> > I've got a really strange problem; this is the case.
> > I've got a web application that uses windows authentication, other
> > users are
> > not welcome. In IIS I've checked Windows Authenticity and unchecked
> > anonymous
> > acces.
> > When users want to enter the site, the windows dialog popsup as
> > expected and
> > they log in with their credentials. The site starts, they can browse
> > through
> > some pages. At a certain moment a user opens the 'new meeting' page
> > for
> > entering a new meeting. Suddenly Windows security pops up and asks to
> > log in.
> > When the user gives his/hers credentials, the box stays on the screen.
> > Which
> > means that the credentials given are not correct. When the users
> > clicks the
> > dialog window away, by clicking the 'cross' or hit 'Cancel', the new
> > meeting
> > page is displayed and the user can fill in information.
> > The page contains required field validators that are triggered when
> > the
> > users hit's 'Save'. But when you have ignored the windows dialog box
> > which
> > popped up, the postback is immedialty executed resulting in an error
> > because
> > unvalid date is trying to get in.
> > In other words, the required field validators are all ignored. When
> > you supply credentials of a domain admin, the problem does not occur.
> >
> > Why are the javascript functions which are created by the required
> > field validator controls not executed?
> >
> > If someone has some tips, this problem is really annoying me...
> >
>
>
>