ASP.NET Authentication... is it or not?

From: Gary T (Gary.Thornton@Sonoco.com)
Date: 11/07/02


From: "Gary T" <Gary.Thornton@Sonoco.com>
Date: Thu, 7 Nov 2002 14:20:25 -0000


Hi All,

I'm getting real fed up with ASP.NET... after about 3 weeks of various
attempts to get the thing working, it's about to go out of the
window.....!!!

I have an "out of the box" set up of VS on a windows 2000 pc. I have a
completely blank webform (home.aspx). I want to authenticate the user so
that I can then use an external SQL Server, So I've have the IIS on the same
machine set to windows integrated authentication.

When I run the application, it responds with the password dialog as expected
and if I enter anything in the dialog boxes it must be correct, otherwise it
just returns the password dialog box, again as expected and correct. However
if I don't put anything in the dialog boxes, and press ok or cancel it just
lets me in and shows the webform....!!! It shouldn't do this?

Next I added some code to show the results of the authentication, and then
noticed that it does actual carry out any, It doesn't matter whether I
complete the dialog box correctly or not it does not show any authentication
results.

I know the code is correct because if I copy the web application to another
IIS server it works exactly how it should. I can even get the page to
connect to an external SQL server and give back some data.. therefore
proving that the system and code is correct i.e. all the impersonation and
delegation is correct.

Has anybody else ever managed to make VS and ASP.NET work on a single
machine with an external SQL server? if so how? and can anybody point me to
any info regarding this sort of set up?

Regards
Gary T



Relevant Pages

  • ASP.NET Authentication... is it or not?
    ... machine set to windows integrated authentication. ... and if I enter anything in the dialog boxes it must be correct, ... Next I added some code to show the results of the authentication, ... connect to an external SQL server and give back some data.. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Ex07 Hell
    ... I now am seeing this in the event log on one of the boxes. ... Enable-ExchangeServerCertificate -Thumprint EE6D6B SMTP ... Currently both servers have "Exchange Server authentication" and ...
    (microsoft.public.exchange.admin)
  • Re: ISA Integrated authentication prompting for user / password
    ... We've had this happen a lot on XP boxes. ... When you look in Computer management at ... > Then we start to have problems (time varies from a few mins to the ... > authentication on the ISA server, so surely this should not happen? ...
    (microsoft.public.isa)
  • Re: User Authentication using Sockets !
    ... > authentication with using sockets. ... > our passwds on the boxes age out that option is not possible. ... > Next option would be to use sockets and tranfer the file across. ... > However the problem is security. ...
    (comp.lang.java.programmer)
  • Re: Default IIS Domain
    ... Also, this is only the case on the FE servers, the dialog boxes are ... >>authentication dialog is greyed out. ... > you make to the leabase are 'lost'. ...
    (microsoft.public.exchange.admin)