Re: IIS and SQL Server on different machines: how to connect with windows security
From: BJ Freeman (bfree_at_free-man.com)
Date: 06/27/03
- Previous message: Stephen O'Sullivan: "Encryptio key hardware solution... help :("
- In reply to: Paolo C.: "IIS and SQL Server on different machines: how to connect with windows security"
- Next in thread: Gary X: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Jun 2003 07:36:25 -0700
I am guess you don't have trustedrights between the two servers.
another approach is to use TCP/IP(assuming your using TCPIP Network) and
have the login on the SQL server. So NT loging would not be used.
"Paolo C." <noemail@ok.ok> wrote in message
news:035201c33c95$0a9f46b0$a001280a@phx.gbl...
> Hi!
> I have a web server (Windows 2000 server) with IIS5
> and .NET Framework (SERVER1) and another server (Windows
> 2000 Server) with SQL Server 2000 (SERVER2).
> I would like to connect to a db on SERVER2 from ASP and
> ASPX pages on SERVER1 using the Windows Authentication.
> I would like, to be precise, that IUSR_SERVER2 and ASPNET
> users of SERVER2 can connect to db on SERVER1.
>
> when I try to create the logins for this 2 users:
>
> exec sp_grantlogin 'Server2\IUSR_Server1'
> exec sp_grantlogin 'Server2\ASPNET'
>
> I get this error:
>
> Windows NT user or group 'Server2\IUSR_Server1' not found.
> Check the name again.
> Windows NT user or group 'Server2\ASPNET' not found. Check
> the name again.
>
> Anyone can help me?
- Previous message: Stephen O'Sullivan: "Encryptio key hardware solution... help :("
- In reply to: Paolo C.: "IIS and SQL Server on different machines: how to connect with windows security"
- Next in thread: Gary X: "Re: IIS and SQL Server on different machines: how to connect with windows security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|