Re: ASP/SQL Server Setup
From: Matt MacDonald (mattsmac_at_hotmail.com)
Date: 06/07/04
- Next message: Cosmin Marin: "Re: Problems with Databinding during PreRender"
- Previous message: Yuancai \(Charlie\) Ye: "SocketPro -- A framework implemented on batching/queue, asynchrony and parallel computaion with online compressing"
- In reply to: Cowboy \(Gregory A. Beamer\) [MVP]: "Re: ASP/SQL Server Setup"
- Next in thread: Eliyahu Goldin: "Re: ASP/SQL Server Setup"
- Reply: Eliyahu Goldin: "Re: ASP/SQL Server Setup"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Jun 2004 10:10:09 -0400
The thing is, I don't want to have to put a user in my database for every
person who is going to login to the site. Can't I have ASP.NET log intot
SQL server using the windows authentication for the machine that IIS is
running on? It works fine if IIS and SQL Server are on the same machine,
just not when they are on different ones.
"Cowboy (Gregory A. Beamer) [MVP]" <NoSpamMgbworld@comcast.netNoSpamM> wrote
in message news:O4uXYIJTEHA.1172@TK2MSFTNGP11.phx.gbl...
> You will have to turn off anonymous access for the website and force the
> user to log in. If you have a login page already, you can work with Active
> Directory to link the user to his account, but having the Windows login
box
> automagically pop up is a lot easier. As long as the user is in the DB,
you
> should be fine now.
>
> Reason: User logged in as IUSR_ComputerName when they hit an anon website.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ************************************************
> Think Outside the Box!
> ************************************************
> "Matt MacDonald" <mattsmac@hotmail.com> wrote in message
> news:eRStn%23ITEHA.3756@TK2MSFTNGP11.phx.gbl...
> > Hi all,
> > I'm trying to set up a web server using IIS on a different machine
than
> my
> > SQL Server is on. I have my web site set up to use windows
> authentication,
> > and I have ASPNET set up as a user on the database. I still get the
> "Login
> > failed for user '(null)'. Reason: Not associated with a trusted SQL
Server
> > connection." though. Anyone have any ideas how to fix this?
> >
> > Thanks,
> >
> > Matt
> >
> >
>
>
- Next message: Cosmin Marin: "Re: Problems with Databinding during PreRender"
- Previous message: Yuancai \(Charlie\) Ye: "SocketPro -- A framework implemented on batching/queue, asynchrony and parallel computaion with online compressing"
- In reply to: Cowboy \(Gregory A. Beamer\) [MVP]: "Re: ASP/SQL Server Setup"
- Next in thread: Eliyahu Goldin: "Re: ASP/SQL Server Setup"
- Reply: Eliyahu Goldin: "Re: ASP/SQL Server Setup"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|