Re: HELP PLEASE The request failed with HTTP status 401: Access Denied.

From: John (jonashbaugh@hotmail.com)
Date: 11/26/02


From: "John" <jonashbaugh@hotmail.com>
Date: Tue, 26 Nov 2002 07:51:52 -0800


Larry,

        I have tried that as well. However from my understanding we cannot
use Integrated Windows Authentication if we are going to have clients with
win9x machines. Also a weird note. When I put the basic authentication on my
laptop, which I am using as a dev, everything works fine. Same code and
everything. Heck I even took the ip of the webserver and made my laptop the
webserver and it worked. It seems to be some type of configuration issue
linking IIS and ASP.NET. I have noticed that under my laptop config of IIS
is have these extensions that the actual server doesn't: .htw, .ida, .idc,
.idq but none seem to reference the .net framework. Any ideas?
"Larry Hastings" <greg.NOSPAM.@NOSPAM.unixsucks.com> wrote in message
news:uu74fv78u4mmd7@corp.supernews.com...
> Try changing to Integrated Windows Authentication on IIS instead of basic
or
> vice a versa.
>
> --
>
> G
> http://www.unixsucks.com
> "John" <jonashbaugh@hotmail.com> wrote in message
> news:#2ltUjVlCHA.2036@tkmsftngp07...
> > We have basic authentication on through IIS. We are running a win xp pro
> > server. When trying to access the site via a browser I get the login and
> > password page. I put in the valid login and password and I am able to
> access
> > the site. However through our code we cannot access the site
> automatically.
> > I am missing something? Thanks in advance. This site is accessible via
the
> > internet.
> >
> > Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As
> > System.Web.UI.ImageClickEventArgs) Handles btnLogin.Click
> >
> > Dim Service As New localhost.ABCService()
> >
> > Dim credentials As System.Net.NetworkCredential = New
> > System.Net.NetworkCredential("USeR", "xxxxxx")
> >
> > Service.Credentials = credentials
> >
> > Dim Info As String = Service.Login(LCase(txtUser.Text),
> > LCase(txtPassword.Text), LCase(txtCompany.Text))
> >
> > Dim str As String
> >
> > If Info = "Error" Then
> >
> > Response.Redirect("login_err.aspx")
> >
> > End IF
> >
> > End Sub
> >
> >
>
>



Relevant Pages

  • Re: HELP PLEASE The request failed with HTTP status 401: Access Denied.
    ... Try changing to Integrated Windows Authentication on IIS instead of basic or ... > We have basic authentication on through IIS. ... > Dim credentials As System.Net.NetworkCredential = New ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • 403.1 and Integrated Windows Authentication
    ... First of all let me thank Jerry III for correctly identifying why IIS 6.0 ... was rejecting my attempts to use Integrated Windows Authentication. ... I created a registry file which modifies the ... their settings for them. ...
    (microsoft.public.inetserver.iis.security)
  • RE: IIS Integrated Windows Authentication problem
    ... to "Show friendly HTTP error messages." ... Make sure that all the accounts have the "Access this computer from the ... > - After extensive searching in the IIS logs, ... >>to Integrated Windows Authentication only. ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS logs for Exchange/OMA Access
    ... I restarted IIS and have requested the users to tell me if they have issues. ... Enabled Integrated Windows authentication ... Uncheck Enable anonymous access ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: w2k w/ sp3 IIS
    ... Hi Kevin, ... It sounds like what might be happening is Anonymous is failing so IIS is ... defaulting to either Basic or Integrated Windows authentication. ... | Content-Class: urn:content-classes:message ...
    (microsoft.public.inetserver.iis.security)